Notifications class
Configuration masks for selecting the notifications the device should send to the host
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- batteryLevelChange → const int
- The device sends a notification when the battery level changed (not supported on all device)
- powerButtonPress → const int
- The device sends a notification when the power button is pressed
- powerButtonRelease → const int
- The device sends a notification when the power button is released
- powerState → const int
- The device sends a notification when the power state changes (battery to AC or vice-versa) (not supported on all device)
- triggerButtonPress → const int
- The device sends a notification when the trigger button is pressed
- triggerButtonRelease → const int
- The device sends a notification when the trigger button is released