VibrationEffectPresetType 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.
Identifies a predefined vibration preset.
public enum VibrationEffectPresetType
type VibrationEffectPresetType =
- Inheritance
-
VibrationEffectPresetType
Fields
| Name | Value | Description |
|---|---|---|
| Click | 1 | A sharp, short pulse sensation. This is the unified identifier for a click effect. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Tick | 7 | A very short pulse sensation. This is the unified identifier for a tick effect. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| LowTick | 8 | A very short, low-frequency pulse sensation. This is the unified identifier for a low tick effect. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Use a value with Create(VibrationEffectPresetType) or Create(VibrationEffectPresetType, Single) to create a preset. Use IsPresetSupported(VibrationEffectPresetType) to check device support and GetPresetDuration(VibrationEffectPresetType) to query its duration.