Freigeben über


InputManager.GetInputDevice(Int32) Method

Definition

Gets information about the input device with the specified id.

[Android.Runtime.Register("getInputDevice", "(I)Landroid/view/InputDevice;", "")]
public Android.Views.InputDevice? GetInputDevice (int id);
[<Android.Runtime.Register("getInputDevice", "(I)Landroid/view/InputDevice;", "")>]
member this.GetInputDevice : 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.hardware.input.InputManager.getInputDevice(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