InputDevice.SourceClassTrackball Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.

The input source is a trackball navigation device.

[Android.Runtime.Register("SOURCE_CLASS_TRACKBALL")]
[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 SourceClassTrackball = 4;
[<Android.Runtime.Register("SOURCE_CLASS_TRACKBALL")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassTrackball : Android.Views.InputSourceType

Field Value

Value = 4

Implements

Attributes

Remarks

The input source is a trackball navigation device. Examples: #SOURCE_TRACKBALL.

A MotionEvent should be interpreted as relative movements in device-specific units used for navigation purposes. Pointer down/up indicates when the selection button is pressed/released.

Use #getMotionRange to query the range of motion.

Java documentation for android.view.InputDevice.SOURCE_CLASS_TRACKBALL.

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.

Applies to