Example usage for Java android.os CancellationSignal fields, constructors, methods, implement or subclass
The text is from its open source code.
CancellationSignal() Creates a cancellation signal, initially not canceled. |
boolean | isCanceled() Returns true if the operation has been canceled. |
void | setOnCancelListener(OnCancelListener listener) Sets the cancellation listener to be called when canceled. |
void | throwIfCanceled() Throws OperationCanceledException if the operation has been canceled. |