共用方式為


VibrationAttributes.UsageClassFeedback 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 as a response to user's actions, such as emulation of physical effects, and texting feedback vibration.

[Android.Runtime.Register("USAGE_CLASS_FEEDBACK", 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 UsageClassFeedback = 2;
[<Android.Runtime.Register("USAGE_CLASS_FEEDBACK", 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 UsageClassFeedback : Android.OS.VibrationAttributesUsageClass

Field Value

Value = 2

Implements

Attributes

Remarks

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.

Java documentation for android.os.VibrationAttributes.USAGE_CLASS_FEEDBACK.

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