Interface PushAdmin

Enables the management of device registrations and push notification subscriptions. Also enables the publishing of push notifications to devices.

Hierarchy

  • PushAdmin

Properties

channelSubscriptions: PushChannelSubscriptions
deviceRegistrations: PushDeviceRegistrations

Methods

  • Sends a push notification directly to a device, or a group of devices sharing the same clientId.

    Parameters

    • recipient: any

      A JSON object containing the recipient details using clientId, deviceId or the underlying notifications service.

    • payload: any

      A JSON object containing the push notification payload.

    Returns Promise<void>

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

Generated using TypeDoc