PushDeviceRegistrations class abstract

Enables the management of push notification registrations with Ably.

Constructors

PushDeviceRegistrations()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get({DeviceDetails? deviceDetails, String? deviceId}) Future<DeviceDetails>
Retrieves the DeviceDetails of a device registered to receive push notifications using the id property of a DeviceDetails object, or by directly using the unique deviceId.
list(DeviceRegistrationParams params) Future<PaginatedResult<DeviceDetails>>
Retrieves all devices matching the filter params provided. Returns a PaginatedResult object, containing an array of DeviceDetails objects.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({DeviceDetails? deviceDetails, String? deviceId}) Future<void>
Removes a device registered to receive push notifications from Ably using the id property of a deviceDetails object, or by directly using the unique deviceId.
removeWhere(DeviceRegistrationParams params) Future<void>
Removes all devices registered to receive push notifications from Ably matching the filter params provided.
save(DeviceDetails deviceDetails) Future<DeviceDetails>
Registers or updates a deviceDetails object with Ably. Returns the new, or updated DeviceDetails object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited