CancelableCallback

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

interface CancelableCallback

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
onCancel
Link copied to clipboard

Invoked when a task is cancelled.

abstract fun onCancel()
onFinish
Link copied to clipboard

Invoked when a task is complete.

abstract fun onFinish()
toString
Link copied to clipboard
open override fun toString(): String