Event
public enum Event
Encapsulates changes to the battery state or battery level of the device.
-
The battery level of the device has changed.
Declaration
Swift
case levelDidChange(Float) -
The battery state of the device has changed.
Declaration
Swift
case stateDidChange(UIDeviceBatteryState)
View on GitHub
Install in Dash
Event Enumeration Reference