Language

RefQueueWorker Constructors

Definition

Overloads

Name Description
RefQueueWorker(ReferenceQueue, IRefQueueHandler)

Creates a worker that listens for queued references.

RefQueueWorker(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

RefQueueWorker(ReferenceQueue, IRefQueueHandler)

Creates a worker that listens for queued references.

[Android.Runtime.Register(".ctor", "(Ljava/lang/ref/ReferenceQueue;Lorg/apache/http/impl/conn/tsccm/RefQueueHandler;)V", "")]
public RefQueueWorker(Java.Lang.Ref.ReferenceQueue? queue, Org.Apache.Http.Impl.Conn.Tsccm.IRefQueueHandler? handler);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/ref/ReferenceQueue;Lorg/apache/http/impl/conn/tsccm/RefQueueHandler;)V", "")>]
new Org.Apache.Http.Impl.Conn.Tsccm.RefQueueWorker : Java.Lang.Ref.ReferenceQueue * Org.Apache.Http.Impl.Conn.Tsccm.IRefQueueHandler -> Org.Apache.Http.Impl.Conn.Tsccm.RefQueueWorker

Parameters

queue
ReferenceQueue

The queue on which to wait for references.

handler
IRefQueueHandler

The handler to receive queued references.

Attributes

Remarks

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

RefQueueWorker(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected RefQueueWorker(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Conn.Tsccm.RefQueueWorker : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Conn.Tsccm.RefQueueWorker

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

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