次の方法で共有


Resources.ParseBundleExtras(XmlReader, Bundle) Method

Definition

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 &lt;extra&gt; 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.

Java documentation for android.content.res.Resources.parseBundleExtras(android.content.res.XmlResourceParser, android.os.Bundle).

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