Search Results for

    Show / Hide Table of Contents

    Class NotificationsKit

    NotificationsKit allows the user to subscribe to desktop notifications.

    Inheritance
    System.Object
    NotificationsKit
    Namespace: Trail
    Assembly: Trail.dll
    Syntax
    public static class NotificationsKit : object

    Methods

    GetPermissionStatus(NotificationsKit.PermissionStatusCallback)

    Used to check if the game has permission to send notifications to the user.

    Declaration
    public static void GetPermissionStatus(NotificationsKit.PermissionStatusCallback callback)
    Parameters
    Type Name Description
    NotificationsKit.PermissionStatusCallback callback

    Callback returning the permission status.

    RequestPermission(KeyValueList, NotificationsKit.PermissionStatusCallback)

    Used to request permission to send notifications to the user. Any tags set can later be used for targetting when sending notificatons.

    Declaration
    public static void RequestPermission(KeyValueList tags, NotificationsKit.PermissionStatusCallback callback)
    Parameters
    Type Name Description
    KeyValueList tags

    Tags used for targetting.

    NotificationsKit.PermissionStatusCallback callback

    Callback returning the permission status.

    In This Article
    Back to top Generated by DocFX