Language

VibrationEffectPresetType Enum

Definition

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 android.os.VibrationEffect.Preset.PRESET_CLICK.

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 android.os.VibrationEffect.Preset.PRESET_TICK.

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 android.os.VibrationEffect.Preset.PRESET_LOW_TICK.

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.

Applies to