Timer.Purge Method

Definition

Removes all cancelled tasks from this timer's task queue.

[Android.Runtime.Register("purge", "()I", "GetPurgeHandler")]
public virtual int Purge ();
[<Android.Runtime.Register("purge", "()I", "GetPurgeHandler")>]
abstract member Purge : unit -> int
override this.Purge : unit -> int

Returns

Int32

the number of tasks removed from the queue.

Attributes

Remarks

Java documentation for java.util.Timer.purge().

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