VibratorEnvelopeEffectInfo.MaxSize 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 number of control points supported for an envelope effect.
public int MaxSize { [Android.Runtime.Register("getMaxSize", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getMaxSize", "()I", "", ApiSince=36)>]
member this.MaxSize : int
Property Value
the maximum number of control points allowed for an envelope effect, or 0 if envelope effects are not supported.
- Attributes
Remarks
Retrieves the maximum number of control points supported for an envelope effect.
If the device supports envelope effects (check android.os.VibratorInfo#areEnvelopeEffectsSupported
), this value will be positive. Devices with envelope effects capabilities guarantee support for a minimum of 16 control points. If the device does not support envelope effects, this method will return 0.
Java documentation for android.os.vibrator.VibratorEnvelopeEffectInfo.getMaxSize()
.
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.