Class ManifestRequirement
This class contains lists of Android manifest elements that need to be added, overriden or removed from the application manifest.
Implements
Inherited Members
Namespace: Unity.XR.Management.AndroidManifest.Editor
Assembly: solution.dll
Syntax
public class ManifestRequirement : IEquatable<ManifestRequirement>
Properties
Name | Description |
---|---|
NewElements | List of ManifestElement elements that will be added to the Android manifest. Each entry represents a single element within its specified node path, and it won't overwrite or override any other element to be added. |
OverrideElements | List of ManifestElement elements whose attirbutes will be merged or overriden with existing the Android manifest elements. If the manifest element doesn't exist in the file, it will be created. |
RemoveElements | List of ManifestElement elements which will be removed from the Android manifest. Entries not found will be ignored. Only entries that specify the same attributes and its respective values in the manifest will be taken in account for deletion. |
SupportedXRLoaders | Set of supported XRLoader types by these requirements. If none of the listed loaders is active at the moment of building, the requirements will be ignored. |
Methods
Name | Description |
---|---|
Equals(object) | Determines whether the specified object is equal to the current object. |
Equals(ManifestRequirement) | Indicates whether the current object is equal to another object of the same type. |
GetHashCode() | Serves as the default hash function. |