Class ManifestRequirement
This class contains lists of Android manifest elements that need to be added, overriden or removed from the application manifest.
Inheritance
ManifestRequirement
Assembly: Unity.XR.Management.Editor.dll
Syntax
public class ManifestRequirement : IEquatable<ManifestRequirement>
Properties
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.
Declaration
public List<ManifestElement> NewElements { get; set; }
Property Value
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.
Declaration
public List<ManifestElement> OverrideElements { get; set; }
Property Value
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.
Declaration
public List<ManifestElement> RemoveElements { get; set; }
Property Value
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.
Declaration
public HashSet<Type> SupportedXRLoaders { get; set; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(ManifestRequirement)
Declaration
public bool Equals(ManifestRequirement other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements