VooWatchHapticType enum
Cross-platform haptic types fired on the watch.
Each value maps to the closest native equivalent on watchOS (WKHapticType)
and Wear OS (HapticFeedbackConstants / VibrationEffect).
Values
- notification → const VooWatchHapticType
-
Generic notification tap.
- success → const VooWatchHapticType
-
Action succeeded.
- failure → const VooWatchHapticType
-
Action failed.
- warning → const VooWatchHapticType
-
Warning the user about something they should attend to.
- click → const VooWatchHapticType
-
Light tap (e.g. selection change).
- heavyClick → const VooWatchHapticType
-
Heavier tap (e.g. confirmation).
- start → const VooWatchHapticType
-
A short rising sequence used to start an interaction.
- stop → const VooWatchHapticType
-
A short falling sequence used to end an interaction.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
values
→ const List<
VooWatchHapticType> - A constant List of the values in this enum, in order of their declaration.