Enum Class Battery.ChargingState

java.lang.Object
java.lang.Enum<Battery.ChargingState>
com.flir.thermalsdk.live.remote.Battery.ChargingState
All Implemented Interfaces:
Serializable, Comparable<Battery.ChargingState>, Constable
Enclosing class:
Battery

public static enum Battery.ChargingState extends Enum<Battery.ChargingState>
Defines a battery charging state.
  • Enum Constant Details

    • DEVELOPER

      public static final Battery.ChargingState DEVELOPER
      Indicates that the battery is not charging because the camera is in "developer mode".
    • NO_CHARGING

      public static final Battery.ChargingState NO_CHARGING
      Indicates that the battery is not charging because the camera is not connected to an external power supply.
    • MANAGED_CHARGING

      public static final Battery.ChargingState MANAGED_CHARGING
      Indicates that the battery is charging from external power.
    • CHARGING_SMART_PHONE

      public static final Battery.ChargingState CHARGING_SMART_PHONE
      Indicates that the battery is charging the Android.

      Warning: This field indicates that IF there is an Android plugged in, it will be receiving power from the RBPDevice battery. However, it is still possible for the RBPDevice to be in this "mode" EVEN IF THERE IS NO Android phone ATTACHED.

    • FAULT

      public static final Battery.ChargingState FAULT
      Indicates that a charging fault occurred (overheat, etc.)
    • FAULT_HEAT

      public static final Battery.ChargingState FAULT_HEAT
      Indicates that a charging heat fault occurred
    • FAULT_BAD_CHARGER

      public static final Battery.ChargingState FAULT_BAD_CHARGER
      Indicates that a charging fault occurred due to low current from the charging source
    • CHARGING_SMART_PHONE_FAULT_HEAT

      public static final Battery.ChargingState CHARGING_SMART_PHONE_FAULT_HEAT
      Indicates that a charging fault exists but the Android phone is being charged
    • MANAGED_CHARGING_ONLY

      public static final Battery.ChargingState MANAGED_CHARGING_ONLY
      Indicates that the device is in charge-only mode
    • CHARGING_SMART_PHONE_ONLY

      public static final Battery.ChargingState CHARGING_SMART_PHONE_ONLY
      Indicates that the device is in phone-charging-only mode
    • BAD

      public static final Battery.ChargingState BAD
      Indicates that a valid battery charging state was not available.
  • Method Details

    • values

      public static Battery.ChargingState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Battery.ChargingState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null