Class ManifestElement
This class holds information for a single Android manifest element, including its path and attributes.
Inherited Members
Namespace: Unity.XR.Management.AndroidManifest .Editor
Assembly: Unity.XR.Management.Editor.dll
Syntax
public class ManifestElement
Properties
Attributes
Dictionary of Name-Value pairs of the represented element's attributes.
Declaration
public Dictionary<string, string> Attributes { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
ElementPath
List of element names representing the full XML path to the element. It must include last the element that this object represents.
Declaration
public List<string> ElementPath { get; set; }
Property Value
Remarks
The order in which the elements are added is important, as each list member represents an XML element name in the order, so specifying a list as { "manifest", "application" } is not the same as { "application", "manifest"}.
new ManifestElement {
ElementPath = new List() {
"manifest", "application", "meta-data"
}
}