Most visited

Recently visited

Added in API level 24

AccessibilityService.GestureResultCallback

public static abstract class AccessibilityService.GestureResultCallback
extends Object

java.lang.Object
   ↳ android.accessibilityservice.AccessibilityService.GestureResultCallback


用于报告已分派手势状态的类

Summary

Public constructors

AccessibilityService.GestureResultCallback()

Public methods

void onCancelled(GestureDescription gestureDescription)

当手势被取消时调用

void onCompleted(GestureDescription gestureDescription)

当手势成功完成时调用

Inherited methods

From class java.lang.Object

Public constructors

AccessibilityService.GestureResultCallback

Added in API level 24
AccessibilityService.GestureResultCallback ()

Public methods

onCancelled

Added in API level 24
void onCancelled (GestureDescription gestureDescription)

当手势被取消时调用

Parameters
gestureDescription GestureDescription: The description of the gesture that was cancelled.

onCompleted

Added in API level 24
void onCompleted (GestureDescription gestureDescription)

当手势成功完成时调用

Parameters
gestureDescription GestureDescription: The description of the gesture that completed.

Hooray!