Language

IXmlPullParserExtensions Class

Definition

Provides task-based extension methods for IXmlPullParser.

public static class IXmlPullParserExtensions
type IXmlPullParserExtensions = class
Inheritance
IXmlPullParserExtensions

Remarks

Each method uses Task to run the corresponding synchronous parser call on the thread pool. Await each call before using the same parser again. These wrappers do not add cancellation or make the parser safe for concurrent calls.

The wrappers are generated by the .NET asynchronous extension generator.

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.

Methods

Name Description
NextAsync(IXmlPullParser)

Runs Next() on the thread pool.

NextTagAsync(IXmlPullParser)

Runs NextTag() on the thread pool.

NextTextAsync(IXmlPullParser)

Runs NextText() on the thread pool.

NextTokenAsync(IXmlPullParser)

Runs NextToken() on the thread pool.

Applies to