MotionEvent.DeviceId MotionEvent.DeviceId Property


Gets the id for the device that this event came from.

[get: Android.Runtime.Register("getDeviceId", "()I", "GetGetDeviceIdHandler")]
public override int DeviceId { get; }
member this.DeviceId : int

Property Value


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