GamepadBatteryLevel enum
The charge state of the battery.
This value is only valid for wireless devices with a known battery type.
Constructors
- GamepadBatteryLevel()
-
const
Values
- empty → const GamepadBatteryLevel
-
The charge state is empty.
- low → const GamepadBatteryLevel
-
The charge state is low.
- medium → const GamepadBatteryLevel
-
The charge state is medium.
- full → const GamepadBatteryLevel
-
The charge state is full.
- unknown → const GamepadBatteryLevel
-
The charge state is unknown.
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<
GamepadBatteryLevel> - A constant List of the values in this enum, in order of their declaration.