Options
public struct Options : OptionSet
Specifies which events to monitor.
-
Monitor
levelDidChange
events.Declaration
Swift
public static let levelDidChange: BatteryMonitor.Options
-
Monitor
stateDidChange
events.Declaration
Swift
public static let stateDidChange: BatteryMonitor.Options
-
Monitor all events.
Declaration
Swift
public static let all: BatteryMonitor.Options