-
- All Implemented Interfaces:
public final class BatteryInfo
Represent battery info extracted from battery and charging change broadcast
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public @interface
BatteryInfo.ChargingState
public class
BatteryInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integer
chargingState
private final Float
batteryLevel
-
Constructor Summary
Constructors Constructor Description BatteryInfo(Integer chargingState, Float batteryLevel)
-
Method Summary
Modifier and Type Method Description final Integer
getChargingState()
final Float
getBatteryLevel()
-
-
Method Detail
-
getChargingState
final Integer getChargingState()
-
getBatteryLevel
final Float getBatteryLevel()
-
-
-
-