VibrationEffect.BasicEnvelopeBuilder.SetInitialSharpness(Single) 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.
Sets the initial sharpness for the basic envelope effect. The effect will start vibrating at this sharpness when it transitions to the intensity and sharpness defined by the first control point.
[Android.Runtime.Register("setInitialSharpness", "(F)Landroid/os/VibrationEffect$BasicEnvelopeBuilder;", "", ApiSince=36)]
public Android.OS.VibrationEffect.BasicEnvelopeBuilder SetInitialSharpness(float initialSharpness);
[<Android.Runtime.Register("setInitialSharpness", "(F)Landroid/os/VibrationEffect$BasicEnvelopeBuilder;", "", ApiSince=36)>]
member this.SetInitialSharpness : single -> Android.OS.VibrationEffect.BasicEnvelopeBuilder
Parameters
- initialSharpness
- Single
The initial sharpness.
Returns
The returned value is non-null.
- Attributes
Remarks
Sets the initial sharpness for the basic envelope effect. The effect will start vibrating at this sharpness when it transitions to the intensity and sharpness defined by the first control point.
Java documentation for android.os.VibrationEffect.BasicEnvelopeBuilder.setInitialSharpness(float).
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.