com.urbanairship.Cancelable |
Interface for an cancelable operation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
cancel()
Cancels the operation.
| ||||||||||
abstract boolean |
isCanceled()
Determines if the operation is canceled.
| ||||||||||
abstract boolean |
isDone()
Determines if the operation is canceled or completed.
|
Cancels the operation.
Determines if the operation is canceled.
true
if canceled, otherwise false
Determines if the operation is canceled or completed.
true
if canceled or completed, otherwise false