Java.Util.Concurrent.Semaphore.DrainPermits Method
Acquires and returns all permits that are immediately available.

Syntax

[Android.Runtime.Register("drainPermits", "()I", "GetDrainPermitsHandler")]
public virtual int DrainPermits ()

Returns

Documentation for this section has not yet been entered.

Remarks

Acquires and returns all permits that are immediately available.

[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 1