Language

XmlResourceParserReader.FromJniHandle(IntPtr, JniHandleOwnership) Method

Definition

Creates a reader for an XML resource parser obtained from a JNI reference.

public static Android.Runtime.XmlResourceParserReader? FromJniHandle(IntPtr handle, Android.Runtime.JniHandleOwnership transfer);
static member FromJniHandle : nativeint * Android.Runtime.JniHandleOwnership -> Android.Runtime.XmlResourceParserReader

Parameters

handle
IntPtr

nativeint

A JNI reference to an XML resource parser, or Zero.

transfer
JniHandleOwnership

The ownership option for the input reference.

Returns

A reader for the parser, or null if no managed parser is obtained.

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