Language

UrlRequest(IntPtr, JniHandleOwnership) Constructor

Definition

Creates a managed instance that represents an existing Java object.

protected UrlRequest(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Http.UrlRequest : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Http.UrlRequest

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

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to