NSHapticFeedbackPattern Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a predefined haptic feedback pattern played on the Force Touch trackpad.
[ObjCRuntime.Native]
public enum NSHapticFeedbackPattern
[<ObjCRuntime.Native>]
type NSHapticFeedbackPattern =
- Inheritance
-
NSHapticFeedbackPattern
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Generic | 0 | A generic, general-purpose haptic pattern. |
| Alignment | 1 | A haptic pattern indicating that an object aligned with a guide or another object. |
| LevelChange | 2 | A haptic pattern indicating a discrete change in a value, such as a slider snapping to a level. |