Share via


VibratorEnvelopeEffectInfo.MaxControlPointDurationMillis Property

Definition

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

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

Property Value

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

Attributes

Remarks

Retrieves the maximum 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 up to at least 1 second. If the device does not support envelope effects, this method will return 0.

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

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