cancel

abstract fun cancel(callback: Callback)

Attempt to cancel the operation. If the operation cancels successfully, the callback will be called with null. If the cancellation fails for any reason, the callback will instead be called with an Exception detailing the cause of failure.

Parameters

callback

The callback to call after cancel is complete