Compartilhar via


VibrationAttributes.UsageClassAlarm Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageClass enum directly instead of this field.

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

[Android.Runtime.Register("USAGE_CLASS_ALARM", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageClass enum directly instead of this field.", true)]
public const Android.OS.VibrationAttributesUsageClass UsageClassAlarm = 1;
[<Android.Runtime.Register("USAGE_CLASS_ALARM", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageClass enum directly instead of this field.", true)>]
val mutable UsageClassAlarm : Android.OS.VibrationAttributesUsageClass

Field Value

Value = 1

Implements

Attributes

Remarks

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

Java documentation for android.os.VibrationAttributes.USAGE_CLASS_ALARM.

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