Sdílet prostřednictvím


VibrationAttributes.UsageTouch Field

Definition

Caution

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

Usage value to use for touch vibrations.

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

Field Value

Value = 18

Implements

Attributes

Remarks

Usage value to use for touch vibrations.

Most typical haptic feedback should be classed as <em>touch</em> feedback. Examples include vibrations for tap, long press, drag and scroll.

Java documentation for android.os.VibrationAttributes.USAGE_TOUCH.

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