Language

XmlPullParserReader.FromJniHandle(IntPtr, JniHandleOwnership) Method

Definition

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

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

Parameters

handle
IntPtr

nativeint

A JNI reference to an XML pull 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