AirHapticCommand class
A host-authenticated command with an application-assigned unique ID.
Authenticate/authorize the sender before constructing this. The SDK does not authenticate push payloads, request notification access, or wake an app.
Constructors
- AirHapticCommand({required String id, required DateTime expiresAt, AirHapticKind kind = AirHapticKind.preview, HapticIntensity? intensity})
Properties
- expiresAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- intensity → HapticIntensity?
-
Optional persistent strength for a single tap; null keeps current strength.
final
- kind → AirHapticKind
-
final
- 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