Share via


VibrationAttributes.UsagePhysicalEmulation 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 vibrations which emulate physical hardware reactions, such as edge squeeze.

[Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", 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 UsagePhysicalEmulation = 34;
[<Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", 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 UsagePhysicalEmulation : Android.OS.VibrationAttributesUsageType

Field Value

Value = 34

Implements

Attributes

Remarks

Usage value to use for vibrations which emulate physical hardware reactions, such as edge squeeze.

Note that normal screen-touch feedback "click" effects would typically be classed as #USAGE_TOUCH, and that on-screen "physical" animations like bouncing would be #USAGE_MEDIA.

Java documentation for android.os.VibrationAttributes.USAGE_PHYSICAL_EMULATION.

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