DevicePowerModeFlutterApi class abstract

API for native platform to notify Flutter about device power mode changes

This notifies Flutter when the user enables or disables Low Power Mode on their iOS device (or Battery Saver on Android), which may affect background operations, BLE connectivity, and GPS accuracy.

Implementers

Constructors

DevicePowerModeFlutterApi()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
onLowPowerModeChanged(bool isLowPowerModeEnabled) → void
Called when the device's Low Power Mode state changes
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

setUp(DevicePowerModeFlutterApi? api, {BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''}) → void

Constants

pigeonChannelCodec → const MessageCodec<Object?>