AndroidManifestXml
NameSpace: MagicLeap
Inherits from:
XmlDocument
Public Fields
ManifestElement
public XmlElement ManifestElement { get; set; }
Public Methods
void AddPermission
public void AddPermission(
string permissionName
)
Parameters
Type | Name | Description |
---|---|---|
string | permissionName |
AndroidManifestXml
public AndroidManifestXml(
string path
)
Parameters
Type | Name | Description |
---|---|---|
string | path |
string [] GetIncludedPermissions
public string [] GetIncludedPermissions()
void RemovePermission
public void RemovePermission(
string permissionName
)
Parameters
Type | Name | Description |
---|---|---|
string | permissionName |
string Save
public string Save()
string SaveAs
public string SaveAs(
string path
)
Parameters
Type | Name | Description |
---|---|---|
string | path |
void UpdateOrCreateAttribute
public void UpdateOrCreateAttribute(
XmlElement xmlParentElement,
string tag,
string key,
string value
)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | xmlParentElement | |
string | tag | |
string | key | |
string | value |
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;