Enables device push channel subscriptions.

Hierarchy

  • PushChannelSubscriptionsCallbacks

Constructors

Methods

  • Unsubscribes a device, or a group of devices sharing the same clientId from receiving push notifications on a channel.

    Parameters

    • subscription: PushChannelSubscription
    • Optional callback: errorCallback

      A function which will be called upon completion of the operation. If the operation succeeded, then the function will be called with null. If it failed, the function will be called with information about the error.

    Returns void

  • Unsubscribes all devices from receiving push notifications on a channel that match the filter params provided.

    Parameters

    • params: PushChannelSubscriptionParams

      An object containing key-value pairs to filter subscriptions by. Can contain channel, and optionally either clientId or deviceId.

    • Optional callback: errorCallback

      A function which will be called upon completion of the operation. If the operation succeeded, then the function will be called with null. If it failed, the function will be called with information about the error.

    Returns void

Generated using TypeDoc