Retrieves the DeviceDetails of a device registered to receive push notifications using its deviceId
.
The unique ID of the device.
A function which, upon success, will be called with a DeviceDetails object. Upon failure, the function will be called with information about the error.
Retrieves the DeviceDetails of a device registered to receive push notifications using the id
property of a DeviceDetails object.
The DeviceDetails object containing the id
property of the device.
A function which, upon success, will be called with a DeviceDetails object. Upon failure, the function will be called with information about the error.
Retrieves all devices matching the filter params
provided. Returns a PaginatedResult object, containing an array of DeviceDetails objects.
An object containing key-value pairs to filter devices by.
A function which, upon success, will be called with a PaginatedResult object containing an array of DeviceDetails objects. Upon failure, the function will be called with information about the error.
Removes a device registered to receive push notifications from Ably using its deviceId
.
The unique ID of the device.
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.
Removes a device registered to receive push notifications from Ably using the id
property of a DeviceDetails object.
The DeviceDetails object containing the id
property of the device.
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.
Removes all devices registered to receive push notifications from Ably matching the filter params
provided.
An object containing key-value pairs to filter devices by. This object’s limit property will be ignored.
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.
Registers or updates a DeviceDetails object with Ably. Returns the new, or updated DeviceDetails object.
The DeviceDetails object to create or update.
Optional
callback: StandardCallback<DeviceDetails>
A function which, upon success, will be called with a DeviceDetails object. Upon failure, the function will be called with information about the error.
Generated using TypeDoc
Enables the management of push notification registrations with Ably.