InputDevice.SourceClassPosition Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.
The input source is an absolute positioning device not associated with a display
(unlike #SOURCE_CLASS_POINTER
).
[Android.Runtime.Register("SOURCE_CLASS_POSITION")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)]
public const Android.Views.InputSourceType SourceClassPosition = 8;
[<Android.Runtime.Register("SOURCE_CLASS_POSITION")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassPosition : Android.Views.InputSourceType
Field Value
Value = 8Implements
- Attributes
Remarks
The input source is an absolute positioning device not associated with a display (unlike #SOURCE_CLASS_POINTER
).
A MotionEvent
should be interpreted as absolute coordinates in device-specific surface units.
Use #getMotionRange
to query the range of positions.
Java documentation for android.view.InputDevice.SOURCE_CLASS_POSITION
.
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.