VibrationEffectSupport Enum

Definition

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

public enum VibrationEffectSupport
type VibrationEffectSupport = 
Inheritance
VibrationEffectSupport

Fields

Name Value Description
Unknown 0

Vibration effect support: unknown The hardware doesn't report its supported effects, so we can't determine whether the effect is supported or not.

Yes 1

Vibration effect support: supported This effect is supported by the underlying hardware.

No 2

Vibration effect support: unsupported This effect is not natively supported by the underlying hardware, although the system may still play a fallback vibration.

Remarks

Class that operates the vibrator on the device. If your process exits, any vibration you started will stop.

Java documentation for android.os.Vibrator.

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