Device class
Represents a device used in push endpoints.
Constructors
Properties
Methods
-
deregisterFromChannels(
Set< String> channels, PushGateway gateway, {String? topic, Environment? environment}) → Future<RemovePushChannelsResult> -
Use this method to deregister the device deviceId from recieve push notifications for
channels
Provide apropriate value of push service backendgateway
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerToChannels(
Set< String> channels, PushGateway gateway, {String? topic, Environment? environment}) → Future<AddPushChannelsResult> -
Use this method register the device deviceId to recieve push notifications from
channels
Provide apropriate value of push service backendgateway
-
remove(
PushGateway gateway, {String? topic, Environment? environment}) → Future< RemoveDeviceResult> -
Use this method to deregister the device deviceId from all push notification channels
This method is allowing for removal of all registered channels at once, for a given device, without specifying all of the channels
Provide apropriate value of push service backend
gateway
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited