PowerState enum
SDL_PowerState.
Constructors
- PowerState()
-
const
Values
- unknown → const PowerState
-
SDL_POWERSTATE_UNKNOWN = 0
- onBattery → const PowerState
-
SDL_POWERSTATE_ON_BATTERY = 1
- noBattery → const PowerState
-
SDL_POWERSTATE_NO_BATTERY = 2
- charging → const PowerState
-
SDL_POWERSTATE_CHARGING = 3
- charged → const PowerState
-
SDL_POWERSTATE_CHARGED = 4
Properties
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
Constants
-
values
→ const List<
PowerState> - A constant List of the values in this enum, in order of their declaration.