Udostępnij za pośrednictwem


InputDevice.VibratorManager Property

Definition

Gets the vibrator manager associated with the device.

public Android.OS.VibratorManager VibratorManager { [Android.Runtime.Register("getVibratorManager", "()Landroid/os/VibratorManager;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getVibratorManager", "()Landroid/os/VibratorManager;", "", ApiSince=31)>]
member this.VibratorManager : Android.OS.VibratorManager

Property Value

The vibrator manager associated with the device, never null.

Attributes

Remarks

Gets the vibrator manager associated with the device. Even if the device does not have a vibrator manager, the result is never null. Use VibratorManager#getVibratorIds to determine whether any vibrator is present.

Java documentation for android.view.InputDevice.getVibratorManager().

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