docs.unity3d.com
    Show / Hide Table of Contents

    Class PackageNotificationUtils

    Static utility class for managing package notifications for packages.

    Inheritance
    Object
    PackageNotificationUtils
    Namespace: UnityEditor.XR.Management
    Syntax
    public static class PackageNotificationUtils : object

    Properties

    registeredPackagesWithNotifications

    Dictionary of packages that have notification to report. When a package is added to the project, that package will register itself with this container if it requires access to notification functionality.

    Declaration
    public static IReadOnlyDictionary<string, PackageNotificationInfo> registeredPackagesWithNotifications { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, PackageNotificationInfo>
    Remarks

    This is a read-only dictionary and cannot be modified. To modify the dictionary, use the RegisterPackageNotificationInformation(String, PackageNotificationInfo) method.

    Methods

    RegisterPackageNotificationInformation(String, PackageNotificationInfo)

    Registers a given package ID as having a notification and supplies that notification.

    Declaration
    public static void RegisterPackageNotificationInformation(string packageId, PackageNotificationInfo notificationInfo)
    Parameters
    Type Name Description
    String packageId

    The metadata identifier for a given package packageId

    PackageNotificationInfo notificationInfo

    The PackageNotificationInfo for the package that corresponds to .

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023