Added in API level 24
GestureResultCallback
abstract class GestureResultCallback
| kotlin.Any | |
| ↳ | android.accessibilityservice.AccessibilityService.GestureResultCallback |
Class used to report status of dispatched gestures
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Unit |
onCancelled(gestureDescription: GestureDescription!)Called when the gesture was cancelled |
| open Unit |
onCompleted(gestureDescription: GestureDescription!)Called when the gesture has completed successfully |
Public constructors
GestureResultCallback
GestureResultCallback()
Public methods
onCancelled
Added in API level 24
open fun onCancelled(gestureDescription: GestureDescription!): Unit
Called when the gesture was cancelled
| Parameters | |
|---|---|
gestureDescription |
GestureDescription!: The description of the gesture that was cancelled. |
onCompleted
Added in API level 24
open fun onCompleted(gestureDescription: GestureDescription!): Unit
Called when the gesture has completed successfully
| Parameters | |
|---|---|
gestureDescription |
GestureDescription!: The description of the gesture that completed. |