Enables the management of push notification registrations with Ably.

Hierarchy

  • PushDeviceRegistrationsPromise

Constructors

Methods

Constructors

Methods

  • Removes a device registered to receive push notifications from Ably using its deviceId.

    Returns

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

    Parameters

    • deviceId: string

      The unique ID of the device.

    Returns Promise<void>

  • Removes a device registered to receive push notifications from Ably using the id property of a DeviceDetails object.

    Returns

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

    Parameters

    Returns Promise<void>

  • Removes all devices registered to receive push notifications from Ably matching 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: DeviceRegistrationParams

      An object containing key-value pairs to filter devices by. This object’s limit property will be ignored.

    Returns Promise<void>

Generated using TypeDoc