Language

OperationSource(IntPtr, JniHandleOwnership) Constructor

Definition

Creates a managed instance that represents an existing Java object.

protected OperationSource(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.Storage.Operations.Sources.OperationSource : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.Storage.Operations.Sources.OperationSource

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