HapticEventDto class
Constructors
- HapticEventDto({required int relativeTimeMs, required int durationMs, required double intensity, required double sharpness})
Properties
- durationMs ↔ int
-
0produces a transient tap, otherwise a continuous vibration.getter/setter pair - hashCode → int
-
The hash code for this object.
no setteroverride
- intensity ↔ double
-
0..1
getter/setter pair
- relativeTimeMs ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
0..1 (iOS only)
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → HapticEventDto