InputDevice.GetDevice(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.