TokenWatcher.Cleanup(IBinder, Boolean) Method

Definition

Removes a token from the watcher's acquired-token set.

[Android.Runtime.Register("cleanup", "(Landroid/os/IBinder;Z)V", "GetCleanup_Landroid_os_IBinder_ZHandler")]
public virtual void Cleanup(Android.OS.IBinder? token, bool unlink);
[<Android.Runtime.Register("cleanup", "(Landroid/os/IBinder;Z)V", "GetCleanup_Landroid_os_IBinder_ZHandler")>]
abstract member Cleanup : Android.OS.IBinder * bool -> unit
override this.Cleanup : Android.OS.IBinder * bool -> unit

Parameters

token
IBinder

The token associated with the operation.

unlink
Boolean

Whether to unlink the death recipient.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Java documentation for android.os.TokenWatcher.cleanup(android.os.IBinder, boolean).

Applies to