Resources.ParseBundleExtras(XmlReader, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parse a series of android.R.styleable#Extra <extra>
tags from
an XML file.
[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 (System.Xml.XmlReader? parser, Android.OS.Bundle? outBundle);
[<Android.Runtime.Register("parseBundleExtras", "(Landroid/content/res/XmlResourceParser;Landroid/os/Bundle;)V", "GetParseBundleExtras_Landroid_content_res_XmlResourceParser_Landroid_os_Bundle_Handler")>]
abstract member ParseBundleExtras : System.Xml.XmlReader * Android.OS.Bundle -> unit
override this.ParseBundleExtras : System.Xml.XmlReader * Android.OS.Bundle -> unit
Parameters
- parser
- XmlReader
The parser from which to retrieve the extras.
- outBundle
- Bundle
A Bundle in which to place all parsed extras.
- Attributes
Exceptions
Remarks
Parse a series of android.R.styleable#Extra <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 #parseBundleExtra
for each extra tag encountered.
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.