Android.AccessibilityServices.AccessibilityService.OnGesture Method
Called by the system when the user performs a specific gesture on the touch screen.

Syntax

[Android.Runtime.Register("onGesture", "(I)Z", "GetOnGesture_IHandler")]
protected virtual bool OnGesture (int gestureId)

See Also

AccessibilityService.GestureSwipeUp
AccessibilityService.GestureSwipeUpAndLeft
AccessibilityService.GestureSwipeUpAndDown
AccessibilityService.GestureSwipeUpAndRight
AccessibilityService.GestureSwipeDown
AccessibilityService.GestureSwipeDownAndLeft
AccessibilityService.GestureSwipeDownAndUp
AccessibilityService.GestureSwipeDownAndRight
AccessibilityService.GestureSwipeLeft
AccessibilityService.GestureSwipeLeftAndUp
AccessibilityService.GestureSwipeLeftAndRight
AccessibilityService.GestureSwipeLeftAndDown
AccessibilityService.GestureSwipeRight
AccessibilityService.GestureSwipeRightAndUp
AccessibilityService.GestureSwipeRightAndLeft
AccessibilityService.GestureSwipeRightAndDown

Parameters

gestureId
The unique id of the performed gesture.

Returns

Documentation for this section has not yet been entered.

Remarks

Called by the system when the user performs a specific gesture on the touch screen. Note: To receive gestures an accessibility service must request that the device is in touch exploration mode by setting the AccessibilityServiceInfo.FlagRequestTouchExplorationMode flag.

[Android Documentation]

Requirements

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