VibratorEnvelopeEffectInfo.MaxControlPointDurationMillis Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.