Android.Test.Mock.MockPackageManager.GetXml Method
Retrieve an XML file from a package.

Syntax

[Android.Runtime.Register("getXml", "(Ljava/lang/String;ILandroid/content/pm/ApplicationInfo;)Landroid/content/res/XmlResourceParser;", "GetGetXml_Ljava_lang_String_ILandroid_content_pm_ApplicationInfo_Handler")]
public override System.Xml.XmlReader GetXml (string packageName, int resid, Android.Content.PM.ApplicationInfo appInfo)

Parameters

packageName
The name of the package that this xml is coming from. Cannot be null.
resid
The resource identifier of the desired xml. Cannot be 0.
appInfo
Overall information about packageName. This may be null, in which case the application information will be retrieved for you if needed; if you already have this information around, it can be much more efficient to supply it here.

Returns

Documentation for this section has not yet been entered.

Remarks

Retrieve an XML file from a package. This is a low-level API used to retrieve XML meta data.

[Android Documentation]

Requirements

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