JniObjectReference(IntPtr, JniObjectReferenceType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Wraps an existing JNI reference handle with its reference type.
public JniObjectReference(IntPtr handle, Java.Interop.JniObjectReferenceType type = Java.Interop.JniObjectReferenceType.Invalid);
new Java.Interop.JniObjectReference : nativeint * Java.Interop.JniObjectReferenceType -> Java.Interop.JniObjectReference
Parameters
- handle
-
IntPtr
nativeint
The JNI reference handle to store. This constructor does not copy the reference.
The reference type to store. The default is Invalid.
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.