public static abstract class AccessibilityService.GestureResultCallback
extends Object
java.lang.Object | |
↳ | android.accessibilityservice.AccessibilityService.GestureResultCallback |
用于报告已分派手势状态的类
Public constructors |
|
---|---|
AccessibilityService.GestureResultCallback() |
Public methods |
|
---|---|
void |
onCancelled(GestureDescription gestureDescription) 当手势被取消时调用 |
void |
onCompleted(GestureDescription gestureDescription) 当手势成功完成时调用 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
AccessibilityService.GestureResultCallback ()
void onCancelled (GestureDescription gestureDescription)
当手势被取消时调用
Parameters | |
---|---|
gestureDescription |
GestureDescription : The description of the gesture that was cancelled. |
void onCompleted (GestureDescription gestureDescription)
当手势成功完成时调用
Parameters | |
---|---|
gestureDescription |
GestureDescription : The description of the gesture that completed. |