CancellationSignal class
Provides the ability to cancel an operation in progress https://developer.android.com/reference/android/os/CancellationSignal
- Inheritance
-
- Object
- Interoperable
- ReceivedCancellationSignal
- CancellationSignal
Constructors
- CancellationSignal()
- Creates cancellation signal.
Properties
Methods
-
cancel(
) → void - Cancels the operation and signals the cancellation listener. If the operation has not yet started, then it will be canceled as soon as it does.
-
dispose(
) → void -
Disposes the cancellation signal.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCancelListener(
VoidCallback? listener) → void -
Sets the cancellation
listener
to be called when canceled.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited