Android SDK 版本
All Implemented Interfaces:
java.io.Closeable , java.lang.AutoCloseable


public final class CancellationTokenRegistration
 implements Closeable
Represents a callback delegate that has been registered with a CancellationToken.
Method Summary
Modifier and TypeMethodDescription
Unitclose() Unregisters the callback runnable from the cancellation token.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

close

Unitclose()
Unregisters the callback runnable from the cancellation token.