VibrationAttributes.UsageClass Property

Definition

Return the vibration usage class.

public int UsageClass { [Android.Runtime.Register("getUsageClass", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getUsageClass", "()I", "", ApiSince=30)>]
member this.UsageClass : int

Property Value

USAGE_CLASS_ALARM, USAGE_CLASS_FEEDBACK or USAGE_CLASS_UNKNOWN

Attributes

Remarks

Return the vibration usage class.

Java documentation for android.os.VibrationAttributes.getUsageClass().

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