Package com.flir.thermalsdk.live.remote
Class Battery
java.lang.Object
com.flir.thermalsdk.live.remote.Battery
Camera battery status monitoring interface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Defines a battery charging state. -
Method Summary
Modifier and TypeMethodDescriptionfinal Property<Battery.ChargingState>
Gets a battery charging state.
Important: In certain cases (e.g.Remaining battery percentage.
Valid value range from 0 to 100 where 0 is empty and 100 is full.
Important: In certain cases (e.g.
-
Method Details
-
percentage
Remaining battery percentage.
Valid value range from 0 to 100 where 0 is empty and 100 is full.
Important: In certain cases (e.g. in case of FLIR ONE prior to starting streaming) the battery percentage value may not be available. When the value is not available, an invalid (negative) value is returned. In the same time thechargingState()
can returnBattery.ChargingState.BAD
indicating state is also not available. -
chargingState
Gets a battery charging state.
Important: In certain cases (e.g. in case of FLIR ONE prior to starting streaming) the battery charging state value may not be available. When the value is not available aBattery.ChargingState.BAD
value is returned. In the same time thepercentage()
can return negative value indicating battery percentage is also not available.
-