Android.Views.InputDevice Members

The members of Android.Views.InputDevice are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
KeyboardTypeAlphabeticInputKeyboardType (2). The keyboard supports a complement of alphabetic keys.
const
KeyboardTypeNonAlphabeticInputKeyboardType (1). The keyboard is not fully alphabetic.
const
KeyboardTypeNoneInputKeyboardType (0). There is no keyboard.
const
MotionRangeOrientationMotionRange (8). Constant for retrieving the range of values for MotionEvent.AXIS_ORIENTATION.
const
MotionRangePressureMotionRange (2). Constant for retrieving the range of values for MotionEvent.AXIS_PRESSURE.
const
MotionRangeSizeMotionRange (3). Constant for retrieving the range of values for MotionEvent.AXIS_SIZE.
const
MotionRangeToolMajorMotionRange (6). Constant for retrieving the range of values for MotionEvent.AXIS_TOOL_MAJOR.
const
MotionRangeToolMinorMotionRange (7). Constant for retrieving the range of values for MotionEvent.AXIS_TOOL_MINOR.
const
MotionRangeTouchMajorMotionRange (4). Constant for retrieving the range of values for MotionEvent.AXIS_TOUCH_MAJOR.
const
MotionRangeTouchMinorMotionRange (5). Constant for retrieving the range of values for MotionEvent.AXIS_TOUCH_MINOR.
const
MotionRangeXMotionRange (0). Constant for retrieving the range of values for MotionEvent.AXIS_X.
const
MotionRangeYMotionRange (1). Constant for retrieving the range of values for MotionEvent.AXIS_Y.
const
SourceAnyInputSourceType (-256). A special input source constant that is used when filtering input devices to match devices that provide any type of input source.
const
SourceClassButtonInputSourceType (1). The input source has buttons or keys.
const
SourceClassJoystickInputSourceType (16). The input source is a joystick.
const
SourceClassMaskInputSourceType (255). A mask for input source classes.
const
SourceClassNoneInputSourceType (0). The input source has no class.
const
SourceClassPointerInputSourceType (2). The input source is a pointing device associated with a display.
const
SourceClassPositionInputSourceType (8). The input source is an absolute positioning device not associated with a display (unlike InputDevice.SourceClassPointer).
const
SourceClassTrackballInputSourceType (4). The input source is a trackball navigation device.
const
SourceDpadInputSourceType (513). The input source is a DPad.
const
SourceGamepadInputSourceType (1025). The input source is a game pad.
const
SourceHdmiInputSourceType (33554433). The input source is a device connected through HDMI-based bus.
const
SourceJoystickInputSourceType (16777232). The input source is a joystick.
const
SourceKeyboardInputSourceType (257). The input source is a keyboard.
const
SourceMouseInputSourceType (8194). The input source is a mouse pointing device.
const
SourceStylusInputSourceType (16386). The input source is a stylus pointing device.
const
SourceTouchNavigationInputSourceType (2097152). The input source is a touch device whose motions should be interpreted as navigation events.
const
SourceTouchpadInputSourceType (1048584). The input source is a touch pad or digitizer tablet that is not associated with a display (unlike InputDevice.SourceTouchscreen).
const
SourceTouchscreenInputSourceType (4098). The input source is a touch screen pointing device.
const
SourceTrackballInputSourceType (65540). The input source is a trackball.
const
SourceUnknownInputSourceType (0). The input source is unknown.

Public Properties

[read-only]
ControllerNumberint. The controller number for a given input device.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
Descriptorstring. Gets the input device descriptor, which is a stable identifier for an input device.
[read-only]
Idint. Gets the input device id.
[read-only]
IsVirtualbool. Returns true if the device is a virtual input device rather than a real one, such as the virtual keyboard (see KeyCharacterMap.VIRTUAL_KEYBOARD).
[read-only]
KeyboardTypeInputKeyboardType. Gets the keyboard type.
[read-only]
KeyCharacterMapKeyCharacterMap. Gets the key character map associated with this input device.
[read-only]
MotionRangesIList<InputDevice.MotionRange>. Gets the ranges for all axes supported by the device.
[read-only]
Namestring. Gets the name of this input device.
[read-only]
ProductIdint. Gets the product id for the given device, if available.
[read-only]
SourcesInputSourceType. Gets the input sources supported by this input device as a combined bitfield.
[read-only]
VendorIdint. Gets the vendor id for the given device, if available.
[read-only]
VibratorAndroid.OS.Vibrator. Gets the vibrator service associated with the device, if there is one.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
static
GetDevice(int) : InputDevice
Gets information about the input device with the specified id.
static
GetDeviceIds() : int[]
Gets the ids of all input devices in the system.
GetMotionRange(Axis) : InputDevice.MotionRange
Gets information about the range of values for a particular Android.Views.MotionEvent axis.
GetMotionRange(Axis, InputSourceType) : InputDevice.MotionRange
Gets information about the range of values for a particular Android.Views.MotionEvent axis used by a particular source on the device.
HasKeys(params int[]) : bool[]
Documentation for this section has not yet been entered.
SupportsSource(InputSourceType) : bool
Determines whether the input device supports the given source or sources.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.