Share via


VibratorFrequencyProfile.GetFrequencyRange(Single) Method

Definition

Returns the frequency range (in Hz) where the vibrator can sustain at least the given minimum output acceleration (Gs).

[Android.Runtime.Register("getFrequencyRange", "(F)Landroid/util/Range;", "", ApiSince=36)]
public Android.Util.Range? GetFrequencyRange(float minOutputAccelerationGs);
[<Android.Runtime.Register("getFrequencyRange", "(F)Landroid/util/Range;", "", ApiSince=36)>]
member this.GetFrequencyRange : single -> Android.Util.Range

Parameters

minOutputAccelerationGs
Single

The minimum desired output acceleration in Gs.

Returns

A Range object representing the frequency range where the vibrator can sustain at least the given minimum acceleration, or null if the minimum output acceleration cannot be achieved.

Attributes

Remarks

Returns the frequency range (in Hz) where the vibrator can sustain at least the given minimum output acceleration (Gs).

Java documentation for android.os.vibrator.VibratorFrequencyProfile.getFrequencyRange(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.

Applies to