Aracılığıyla paylaş


InputDevice.GetDevice(Int32) Method

Definition

Gets information about the input device with the specified id.

[Android.Runtime.Register("getDevice", "(I)Landroid/view/InputDevice;", "")]
public static Android.Views.InputDevice? GetDevice (int id);
[<Android.Runtime.Register("getDevice", "(I)Landroid/view/InputDevice;", "")>]
static member GetDevice : int -> Android.Views.InputDevice

Parameters

id
Int32

The device id.

Returns

The input device or null if not found.

Attributes

Remarks

Gets information about the input device with the specified id.

Java documentation for android.view.InputDevice.getDevice(int).

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