Android Guides | Samples

Android.Content.Res.Resources.ParseBundleExtras Method

Syntax

[Android.Runtime.Register("parseBundleExtras", "(Landroid/content/res/XmlResourceParser;Landroid/os/Bundle;)V", "GetParseBundleExtras_Landroid_content_res_XmlResourceParser_Landroid_os_Bundle_Handler")]
public virtual Void ParseBundleExtras (XmlReader parser, Bundle outBundle)

Parameters

parser
The parser from which to retrieve the extras.
outBundle
A Bundle in which to place all parsed extras.

Exceptions

TypeReason
!:NoType:XmlPullParserException
IOException
XmlPullParserException

Remarks

Parse a series of NoType:android/R$styleable;Href=../../../../reference/android/R.styleable.html#Extra tags from an XML file. You call this when you are at the parent tag of the extra tags, and it will return once all of the child tags have been parsed. This will call Resources.ParseBundleExtra(String,IAttributeSet,IAttributeSet) for each extra tag encountered.

[Android Documentation]

Requirements

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