public interface

Cancelable

com.urbanairship.Cancelable

Class Overview

Interface for an cancelable operation.

Summary

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.

Public Methods

public abstract void cancel ()

Cancels the operation.

public abstract boolean isCanceled ()

Determines if the operation is canceled.

Returns
  • true if canceled, otherwise false

public abstract boolean isDone ()

Determines if the operation is canceled or completed.

Returns
  • true if canceled or completed, otherwise false