InputManager.GetInputDeviceViewBehavior(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 the InputDevice.ViewBehavior of the input device with a given id.
[Android.Runtime.Register("getInputDeviceViewBehavior", "(I)Landroid/view/InputDevice$ViewBehavior;", "", ApiSince=35)]
public Android.Views.InputDevice.ViewBehavior? GetInputDeviceViewBehavior(int deviceId);
[<Android.Runtime.Register("getInputDeviceViewBehavior", "(I)Landroid/view/InputDevice$ViewBehavior;", "", ApiSince=35)>]
member this.GetInputDeviceViewBehavior : int -> Android.Views.InputDevice.ViewBehavior
Parameters
- deviceId
- Int32
The ID of the input device whose view behavior is requested.
Returns
The view behavior of the input device with the specified ID, or null if no input device has that ID.
- Attributes
Remarks
Gets the InputDevice.ViewBehavior of the input device with a given id.
Use this API to query a fresh view behavior instance whenever the input device changes.
Android reference for android.hardware.input.InputManager.getInputDeviceViewBehavior.
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.