Interface Solum.BatteryHealthCallback

Enclosing class:
Solum
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Solum.BatteryHealthCallback
Battery health callback.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(BatteryHealth result, double value)
    Called with the request result.
  • Method Details

    • accept

      void accept(BatteryHealth result, double value)
      Called with the request result.
      Parameters:
      result - the health result.
      value - the health value (0 on error).