Package com.flir.thermalsdk.live.remote
Enum Class Battery.ChargingState
- All Implemented Interfaces:
Serializable
,Comparable<Battery.ChargingState>
,Constable
- Enclosing class:
- Battery
Defines a battery charging state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that a valid battery charging state was not available.Indicates that the battery is charging the Android.Indicates that a charging fault exists but the Android phone is being chargedIndicates that the device is in phone-charging-only modeIndicates that the battery is not charging because the camera is in "developer mode".Indicates that a charging fault occurred (overheat, etc.)Indicates that a charging fault occurred due to low current from the charging sourceIndicates that a charging heat fault occurredIndicates that the battery is charging from external power.Indicates that the device is in charge-only modeIndicates that the battery is not charging because the camera is not connected to an external power supply. -
Method Summary
Modifier and TypeMethodDescriptionstatic Battery.ChargingState
Returns the enum constant of this class with the specified name.static Battery.ChargingState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DEVELOPER
Indicates that the battery is not charging because the camera is in "developer mode". -
NO_CHARGING
Indicates that the battery is not charging because the camera is not connected to an external power supply. -
MANAGED_CHARGING
Indicates that the battery is charging from external power. -
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
Indicates that a charging fault occurred (overheat, etc.) -
FAULT_HEAT
Indicates that a charging heat fault occurred -
FAULT_BAD_CHARGER
Indicates that a charging fault occurred due to low current from the charging source -
CHARGING_SMART_PHONE_FAULT_HEAT
Indicates that a charging fault exists but the Android phone is being charged -
MANAGED_CHARGING_ONLY
Indicates that the device is in charge-only mode -
CHARGING_SMART_PHONE_ONLY
Indicates that the device is in phone-charging-only mode -
BAD
Indicates that a valid battery charging state was not available.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-