Java.Lang.Ref.ReferenceQueue.Remove Method
Returns the next available reference from the queue, removing it in the process.

Syntax

[Android.Runtime.Register("remove", "(J)Ljava/lang/ref/Reference;", "GetRemove_JHandler")]
public virtual Reference Remove (long timeout)

Parameters

timeoutMillis
maximum time to spend waiting for a reference object to become available. A value of 0 results in the method waiting indefinitely.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif timeoutMillis .
Java.Lang.InterruptedExceptionif the blocking call was interrupted

Remarks

Returns the next available reference from the queue, removing it in the process. Waits for a reference to become available or the given timeout period to elapse, whichever happens first.

[Android Documentation]

Requirements

Namespace: Java.Lang.Ref
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1