VibrationEffect.WaveformEnvelopeBuilder.SetInitialFrequencyHz(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 frequency for the waveform in Hertz. The effect will start vibrating at this frequency when it transitions to the amplitude and frequency defined by the first control point.
[Android.Runtime.Register("setInitialFrequencyHz", "(F)Landroid/os/VibrationEffect$WaveformEnvelopeBuilder;", "", ApiSince=36)]
public Android.OS.VibrationEffect.WaveformEnvelopeBuilder SetInitialFrequencyHz(float initialFrequencyHz);
[<Android.Runtime.Register("setInitialFrequencyHz", "(F)Landroid/os/VibrationEffect$WaveformEnvelopeBuilder;", "", ApiSince=36)>]
member this.SetInitialFrequencyHz : single -> Android.OS.VibrationEffect.WaveformEnvelopeBuilder
Parameters
- initialFrequencyHz
- Single
The initial frequency, in hertz.
Returns
The returned value is non-null.
- Attributes
Remarks
Sets the initial frequency for the waveform in Hertz. The effect will start vibrating at this frequency when it transitions to the amplitude and frequency defined by the first control point.
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.