Share via


VibratorEnvelopeEffectInfo.MinControlPointDurationMillis Property

Definition

Retrieves the minimum duration supported between two control points within an envelope effect, in milliseconds.

public long MinControlPointDurationMillis { [Android.Runtime.Register("getMinControlPointDurationMillis", "()J", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getMinControlPointDurationMillis", "()J", "", ApiSince=36)>]
member this.MinControlPointDurationMillis : int64

Property Value

the minimum allowed duration between two control points in an envelope effect, or 0 if envelope effects are not supported.

Attributes

Remarks

Retrieves the minimum duration supported between two control points within an envelope effect, in milliseconds.

If the device supports envelope effects (check android.os.VibratorInfo#areEnvelopeEffectsSupported), this value will be positive. Devices with envelope effects capabilities guarantee support for durations down to at least 20 milliseconds. If the device does not support envelope effects, this method will return 0.

Java documentation for android.os.vibrator.VibratorEnvelopeEffectInfo.getMinControlPointDurationMillis().

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