Android.Hardware.Input.InputManager.RegisterInputDeviceListener Method
Registers an input device listener to receive notifications about when input devices are added, removed or changed.

Syntax

[Android.Runtime.Register("registerInputDeviceListener", "(Landroid/hardware/input/InputManager$InputDeviceListener;Landroid/os/Handler;)V", "")]
public void RegisterInputDeviceListener (InputManager.IInputDeviceListener listener, Android.OS.Handler handler)

See Also

InputManager.UnregisterInputDeviceListener(.IInputDeviceListener)

Parameters

listener
The listener to register.
handler
The handler on which the listener should be invoked, or null if the listener should be invoked on the calling thread's looper.

Remarks

Registers an input device listener to receive notifications about when input devices are added, removed or changed.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Input
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16