AccessibilityServiceInfo.FlagSendMotionEvents Field

Definition

Caution

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

This flag requests that when when #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is enabled, a service will receive the motion events for each successfully-detected gesture.

[Android.Runtime.Register("FLAG_SEND_MOTION_EVENTS", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.", true)]
public const Android.AccessibilityServices.AccessibilityServiceFlags FlagSendMotionEvents = 16384;
[<Android.Runtime.Register("FLAG_SEND_MOTION_EVENTS", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.", true)>]
val mutable FlagSendMotionEvents : Android.AccessibilityServices.AccessibilityServiceFlags

Field Value

Value = 16384

Implements

Attributes

Remarks

This flag requests that when when #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is enabled, a service will receive the motion events for each successfully-detected gesture. The service will also receive an AccessibilityGestureEvent of type GESTURE_INVALID for each cancelled gesture along with its motion events. A service will receive a gesture of type GESTURE_PASSTHROUGH and accompanying motion events for every passthrough gesture that does not start gesture detection. This information can be used to collect instances of improper gesture detection behavior and relay that information to framework developers. If #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is disabled this flag has no effect.

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.FLAG_SEND_MOTION_EVENTS.

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