Share via


Vibrator.Id Property

Definition

Return the ID of this vibrator.

public virtual int Id { [Android.Runtime.Register("getId", "()I", "GetGetIdHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getId", "()I", "GetGetIdHandler", ApiSince=31)>]
member this.Id : int

Property Value

A non-negative integer representing the id of the vibrator controlled by this service, or -1 this service is not attached to any physical vibrator.

Attributes

Remarks

Return the ID of this vibrator.

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

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