Java.Util.Concurrent.LinkedBlockingDeque.Take Method
Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), waiting if necessary until an element becomes available.

Syntax

[Android.Runtime.Register("take", "()Ljava/lang/Object;", "GetTakeHandler")]
public virtual Java.Lang.Object Take ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.InterruptedException

Remarks

Retrieves and removes the head of the queue represented by this deque (in other words, the first element of this deque), waiting if necessary until an element becomes available.

This method is equivalent to IBlockingDeque.TakeFirst.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9