docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPushNotificationsAnalytics

    This interface is no longer required. Notification events are recorded for you automatically when you register for push notifications using RegisterForPushNotificationsAsync.

    Namespace: Unity.Services.PushNotifications
    Assembly: Unity.Services.PushNotifications.dll
    Syntax
    [Obsolete("This interface should not be used. It will be deleted in the future version. Notification events are recorded for you automatically.")]
    public interface IPushNotificationsAnalytics

    Methods

    RecordNotificationOpened(Dictionary<string, object>, bool)

    RecordNotificationOpened is no longer required. Notification events are recorded for you automatically when you register for push notifications using RegisterForPushNotificationsAsync.

    Declaration
    void RecordNotificationOpened(Dictionary<string, object> payload, bool didLaunch)
    Parameters
    Type Name Description
    Dictionary<string, object> payload

    Please use the RegisterForPushNotificationsAsync method

    bool didLaunch

    Please use the RegisterForPushNotificationsAsync method

    RecordPushTokenUpdated(string)

    RecordPushTokenUpdated is no longer required. Notification events are recorded for you automatically when you register for push notifications using RegisterForPushNotificationsAsync.

    Declaration
    void RecordPushTokenUpdated(string pushToken)
    Parameters
    Type Name Description
    string pushToken

    Please use the RegisterForPushNotificationsAsync method

    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)