BatteryInfoAndroidWrapper class

Constructors

BatteryInfoAndroidWrapper()
factory

Properties

batteryCapacity int
no setter
batteryHealth BatteryHealth?
no setter
batteryLevel int
no setter
batteryState BatteryState?
no setter
batteryTemperature double
no setter
batteryVoltage double
no setter
chargingSpeed int
no setter
chargingType String
no setter
hashCode int
The hash code for this object.
no setterinherited
instance BatterySpec
no setter
isBatteryCapacityFromApi bool
no setter
isChargerConnected bool
no setter
isChargingCurrentFromApi bool
no setter
isChargingSpeedFromApi bool
no setter
isInBatterySaveMode bool
no setter
maxChargingCurrent int
no setter
onBatteryHealthChanged Stream<BatteryHealth>
no setter
onBatterySaverModeChanged Stream<bool>
no setter
onBatteryStateChanged Stream<BatteryState>
no setter
onChargerConnectionChanged Stream<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

acquireWakeLock() → void
dispose() → void
initialize() → void
isWakeLockHeld() bool
pauseStreams() → void
releaseWakeLock() → void
resetJavaState() → void
resumeStreams() → void
startBatteryMonitoringService() → void
stopBatteryMonitoringService() → void