MethodChannelMacosHapticFeedback class
An implementation of MacosHapticFeedbackPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- MacosHapticFeedbackPlatform
- MethodChannelMacosHapticFeedback
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
alignment(
) → Future< void> -
A haptic feedback pattern to be used in response to the alignment of an object the user is dragging around. For example, this pattern of feedback could be used in a drawing app when the user drags a shape into alignment with another shape. Other scenarios where this type of feedback could be used might include scaling an object to fit within specific dimensions, positioning an object at a preferred location, or reaching the beginning/minimum or end/maximum of something, such as a track view in an audio/video app.
override
-
generic(
) → Future< void> -
A general haptic feedback pattern. Use this when no other feedback patterns apply.
override
-
levelChange(
) → Future< void> -
A haptic feedback pattern to be used as the user moves between discrete levels of pressure. This pattern of feedback is used by multilevel accelerator buttons (class NSMultiLevelAcceleratorButton).
override
-
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