Condividi tramite


InputEvent.Device Property

Definition

Gets the device that this event came from.

public Android.Views.InputDevice? Device { [Android.Runtime.Register("getDevice", "()Landroid/view/InputDevice;", "")] get; }
[<get: Android.Runtime.Register("getDevice", "()Landroid/view/InputDevice;", "")>]
member this.Device : Android.Views.InputDevice

Property Value

The device, or null if unknown.

Attributes

Remarks

Gets the device that this event came from.

Java documentation for android.view.InputEvent.getDevice().

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