Android Guides | Samples

Android.Views.InputDevice.MotionRange Class

Provides information about the range of values for a particular MotionEvent axis.

See Also: InputDevice+MotionRange

Syntax

[Android.Runtime.Register("android/view/InputDevice$MotionRange", DoNotGenerateAcw=true)]
public sealed class InputDevice.MotionRange : Object

Remarks

Provides information about the range of values for a particular MotionEvent axis.

See Also

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9

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

See Also: Object

Public Properties

[read-only]
AxisAxis. Gets the axis id.
[read-only]
FlatSingle. Gets the extent of the center flat position with respect to this axis.
[read-only]
FuzzSingle. Gets the error tolerance for input device measurements with respect to this axis.
[read-only]
MaxSingle. Gets the inclusive maximum value for the axis.
[read-only]
MinSingle. Gets the inclusive minimum value for the axis.
[read-only]
RangeSingle. Gets the range of the axis (difference between maximum and minimum).
[read-only]
ResolutionSingle. Gets the resolution for input device measurements with respect to this axis.
[read-only]
SourceInputSourceType. Gets the source for which the axis is defined.

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

IsFromSource(InputSourceType) : Boolean
Determines whether the event is from the given source.