CancelableCallback

Interface definition for a callback to be invoked when a task is complete or cancelled.

Functions

Link copied to clipboard
abstract fun onCancel()
Invoked when a task is cancelled.
Link copied to clipboard
abstract fun onFinish()
Invoked when a task is complete.