Share via


Cleaner.ICleanable.Clean Method

Definition

Unregisters the cleanable and invokes the cleaning action.

[Android.Runtime.Register("clean", "()V", "GetCleanHandler:Java.Lang.Ref.Cleaner/ICleanableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void Clean ();
[<Android.Runtime.Register("clean", "()V", "GetCleanHandler:Java.Lang.Ref.Cleaner/ICleanableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member Clean : unit -> unit
Attributes

Remarks

Unregisters the cleanable and invokes the cleaning action. The cleanable's cleaning action is invoked at most once regardless of the number of calls to clean.

Java documentation for java.lang.ref.Cleaner.Cleanable.clean().

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.

Applies to