Android.Content.Intent.ParseIntent Method
Parses the "intent" element (and its children) from XML and instantiates an Intent object.

Syntax

[Android.Runtime.Register("parseIntent", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;", "")]
public static Intent ParseIntent (Android.Content.Res.Resources resources, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs)

Parameters

resources
The Resources to use when inflating resources.
parser
The XML parser pointing at an "intent" tag.
attrs
The AttributeSet interface for retrieving extended attribute data at the current parser location.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Org.XmlPull.V1.XmlPullParserExceptionIf there was an XML parsing error.
Java.IO.IOExceptionIf there was an I/O error.

Remarks

Parses the "intent" element (and its children) from XML and instantiates an Intent object. The given XML parser should be located at the tag where parsing should start (often named "intent"), from which the basic action, data, type, and package and class name will be retrieved. The function will then parse in to any child elements, looking for tags to add categories and to attach extra data to the intent.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1