Compartir a través de


InputManager.IInputDeviceListener.OnInputDeviceChanged(Int32) Method

Definition

Called whenever the properties of an input device have changed since they were last queried.

[Android.Runtime.Register("onInputDeviceChanged", "(I)V", "GetOnInputDeviceChanged_IHandler:Android.Hardware.Input.InputManager/IInputDeviceListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnInputDeviceChanged (int deviceId);
[<Android.Runtime.Register("onInputDeviceChanged", "(I)V", "GetOnInputDeviceChanged_IHandler:Android.Hardware.Input.InputManager/IInputDeviceListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnInputDeviceChanged : int -> unit

Parameters

deviceId
Int32

The id of the input device that changed.

Attributes

Remarks

Called whenever the properties of an input device have changed since they were last queried. Use InputManager#getInputDevice to get a fresh InputDevice object with the new properties.

Java documentation for android.hardware.input.InputManager.InputDeviceListener.onInputDeviceChanged(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