public static final class ShadowAccessibilityService.GestureDispatch extends Object
AccessibilityService.dispatchGesture(android.accessibilityservice.GestureDescription, android.accessibilityservice.AccessibilityService.GestureResultCallback, android.os.Handler)
.Constructor | Description |
---|---|
GestureDispatch(GestureDescription description,
AccessibilityService.GestureResultCallback callback) |
Modifier and Type | Method | Description |
---|---|---|
AccessibilityService.GestureResultCallback |
callback() |
The callback that is to be invoked once the gesture has finished dispatching.
|
GestureDescription |
description() |
The description of the gesture to be dispatched.
|
public GestureDispatch(GestureDescription description, AccessibilityService.GestureResultCallback callback)
public GestureDescription description()
public AccessibilityService.GestureResultCallback callback()