VibrationEffect.BasicEnvelopeBuilder.AddControlPoint Method
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.
Adds a new control point to the end of this waveform envelope. Intensity defines the overall strength of the vibration, ranging from 0 (off) to 1 (maximum achievable strength).
[Android.Runtime.Register("addControlPoint", "(FFJ)Landroid/os/VibrationEffect$BasicEnvelopeBuilder;", "", ApiSince=36)]
public Android.OS.VibrationEffect.BasicEnvelopeBuilder AddControlPoint(float intensity, float sharpness, long durationMillis);
[<Android.Runtime.Register("addControlPoint", "(FFJ)Landroid/os/VibrationEffect$BasicEnvelopeBuilder;", "", ApiSince=36)>]
member this.AddControlPoint : single * single * int64 -> Android.OS.VibrationEffect.BasicEnvelopeBuilder
Parameters
- intensity
- Single
The control-point intensity.
- sharpness
- Single
The control-point sharpness.
- durationMillis
- Int64
The control-point duration, in milliseconds.
Returns
The returned value is non-null.
- Attributes
Remarks
Adds a new control point to the end of this waveform envelope. Intensity defines the overall strength of the vibration, ranging from 0 (off) to 1 (maximum achievable strength).
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.