Enables device push channel subscriptions.

Hierarchy

  • PushChannelSubscriptionsPromise

Constructors

Methods

  • Retrieves all channels with at least one device subscribed to push notifications. Returns a PaginatedResult object, containing an array of channel names.

    Returns

    A promise which, upon success, will be fulfilled with a PaginatedResult object containing an array of channel names. Upon failure, the promise will be rejected with an ErrorInfo object which explains the error.

    Parameters

    Returns Promise<PaginatedResult<string>>

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

    Returns

    A promise which resolves upon success of the operation and rejects with an ErrorInfo object upon its failure.

    Parameters

    • params: PushChannelSubscriptionParams

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

    Returns Promise<void>

Generated using TypeDoc