VibrationAttributesUsageClass Enum

Definition

Defines vibration attributes usage class values used by the Android OS API.

public enum VibrationAttributesUsageClass
type VibrationAttributesUsageClass = 
Inheritance
VibrationAttributesUsageClass

Fields

Name Value Description
Unknown 0

Vibration usage class value to use when the vibration usage class is unknown.

Alarm 1

Vibration usage class value to use when the vibration is initiated to catch user's attention, such as alarm, ringtone, and notification vibrations.

Feedback 2

Vibration usage class value to use when the vibration is initiated as a response to user's actions, such as emulation of physical effects, and texting feedback vibration.

Media 3

Vibration usage class value to use when the vibration is part of media, such as music, movie, soundtrack, game or animations.

Remarks

Encapsulates a collection of attributes describing information about a vibration.

Java documentation for android.os.VibrationAttributes.

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