Skip to main content
Version: 12 Dec 2024

AndroidManifestXml

NameSpace: MagicLeap

Inherits from:
XmlDocument

Public Fields

ManifestElement


public XmlElement ManifestElement { get; set; }


Public Methods

void AddPermission

public void AddPermission(
string permissionName
)

Parameters

TypeNameDescription
stringpermissionName

AndroidManifestXml

public AndroidManifestXml(
string path
)

Parameters

TypeNameDescription
stringpath

string [] GetIncludedPermissions

public string [] GetIncludedPermissions()

void RemovePermission

public void RemovePermission(
string permissionName
)

Parameters

TypeNameDescription
stringpermissionName

string Save

public string Save()

string SaveAs

public string SaveAs(
string path
)

Parameters

TypeNameDescription
stringpath

void UpdateOrCreateAttribute

public void UpdateOrCreateAttribute(
XmlElement xmlParentElement,
string tag,
string key,
string value
)

Parameters

TypeNameDescription
XmlElementxmlParentElement
stringtag
stringkey
stringvalue

Public Attributes

AndroidXmlNamespace


public const string AndroidXmlNamespace = "http://schemas.android.com/apk/res/android";


AssetPath


public static string AssetPath = "Assets/Plugins/Android/AndroidManifest.xml";


Protected Attributes

nsMgr


protected XmlNamespaceManager nsMgr;