Android.Hardware.Input Namespace

Provides access to input devices, keyboard layouts, host stylus protocol versions, and peripheral input customizations.

Classes

Name Description
AppCustomizationAction

Represents an action that launches or sends an intent to a specific application component in response to a peripheral input customization trigger.

AppCustomizationAction.Builder

Builder for AppCustomizationAction.

ButtonCustomizationTrigger

Represents a trigger based on a physical button press on a peripheral (e.

CustomizationAction

Represents an action that can be associated with a peripheral customization trigger.

CustomizationTrigger

Represents a trigger that initiates a peripheral customization action.

HostUsiVersion

Provides information about the supported Universal Stylus Initiative (USI) version of the host device.

HostUsiVersion.InterfaceConsts

Provides the IParcelable constants inherited by HostUsiVersion.

InputManager

Provides information about input devices and available key layouts.

InputManager.InputDeviceAddedEventArgs

Provides data for a notification that an input device was added to the system.

InputManager.InputDeviceChangedEventArgs

Provides data for a notification that the properties of an input device changed.

InputManager.InputDeviceRemovedEventArgs

Provides data for a notification that an input device was removed from the system.

KeyCustomizationTrigger

Represents a trigger based on a physical key press on a peripheral.

SimpleCustomizationAction

Represents predefined simple actions, such as Volume up/down, Screenshot, etc.

UriCustomizationAction

Represents an action that requires an accompanying URI to execute.

Interfaces

Name Description
InputManager.IInputDeviceListener

Listens for changes in input devices.

Enums

Name Description
CustomizableButton

Specifies the peripheral button codes used by ButtonCustomizationTrigger.

CustomizableKeyCode

Specifies the peripheral key codes used by KeyCustomizationTrigger.

SimpleCustomizationActionType

Specifies the actions available to SimpleCustomizationAction.

UriCustomizationActionType

Specifies how a UriCustomizationAction opens its target URI.