Udostępnij za pośrednictwem


InputDevice.SourceTouchNavigation 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 touch device whose motions should be interpreted as navigation events.

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

Field Value

Value = 2097152

Implements

Attributes

Remarks

The input source is a touch device whose motions should be interpreted as navigation events.

For example, an upward swipe should be as an upward focus traversal in the same manner as pressing up on a D-Pad would be. Swipes to the left, right and down should be treated in a similar manner.

Java documentation for android.view.InputDevice.SOURCE_TOUCH_NAVIGATION.

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

See also