Språk

IXmlPullParserExtensions.NextTextAsync(IXmlPullParser) Method

Definition

Runs NextText() on the thread pool.

public static System.Threading.Tasks.Task<string?> NextTextAsync(this Org.XmlPull.V1.IXmlPullParser self);
static member NextTextAsync : Org.XmlPull.V1.IXmlPullParser -> System.Threading.Tasks.Task<string>

Parameters

self
IXmlPullParser

The parser positioned on the element's start tag.

Returns

A task whose result is the text returned by the synchronous call, or an empty string for an empty element. On success, the synchronous call leaves the parser on the matching end tag. See NextText() for differences in text handling between implementations.

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