docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ManifestRequirement

    This class contains lists of Android manifest elements that need to be added, overriden or removed from the application manifest.

    Inheritance
    object
    ManifestRequirement
    Implements
    IEquatable<ManifestRequirement>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.XR.Management.AndroidManifest.Editor
    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
    Type Description
    List<ManifestElement>

    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
    Type Description
    List<ManifestElement>

    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
    Type Description
    List<ManifestElement>

    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
    Type Description
    HashSet<Type>

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    Equals(ManifestRequirement)

    Declaration
    public bool Equals(ManifestRequirement other)
    Parameters
    Type Name Description
    ManifestRequirement other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)