VibrationEffectEffectType Enum

Definition

Defines vibration effect effect type values used by the Android OS API.

public enum VibrationEffectEffectType
type VibrationEffectEffectType = 
Inheritance
VibrationEffectEffectType

Fields

Name Value Description
EffectClick 0

A click effect. Use this effect as a baseline, as it's the most common type of click effect.

EffectDoubleClick 1

A double click effect.

EffectTick 2

A tick effect. This effect is less strong compared to EFFECT_CLICK .

EffectHeavyClick 5

A heavy click effect. This effect is stronger than EFFECT_CLICK .

Remarks

Defines identifiers for predefined vibration effects.

Java documentation for android.os.VibrationEffect.

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.

Applies to