Udostępnij za pośrednictwem


Vibrator.ResonantFrequency Property

Definition

Gets the resonant frequency of the vibrator, if applicable.

public virtual float ResonantFrequency { [Android.Runtime.Register("getResonantFrequency", "()F", "GetGetResonantFrequencyHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getResonantFrequency", "()F", "GetGetResonantFrequencyHandler", ApiSince=34)>]
member this.ResonantFrequency : single

Property Value

the resonant frequency of the vibrator, or Float#NaN NaN if it's unknown, not applicable, or if this vibrator is a composite of multiple physical devices with different frequencies.

Attributes

Remarks

Gets the resonant frequency of the vibrator, if applicable.

Java documentation for android.os.Vibrator.getResonantFrequency().

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