Udostępnij za pośrednictwem


VibrationEffect.Composition.PrimitiveThud Field

Definition

Caution

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

A haptic effect that simulates downwards movement with gravity.

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

Field Value

Value = 2
Attributes

Remarks

A haptic effect that simulates downwards movement with gravity. Often followed by extra energy of hitting and reverberation to augment physicality.

Java documentation for android.os.VibrationEffect.Composition.PRIMITIVE_THUD.

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