Abstract
Abstract
nameSpecifies the new name of the device information.
This is typically a user-friendly string describing the mobile device where the application is running.
IMPORTANT
Do not invoke this method if the name does not need to be updated.
the new device information name.
a DeviceInformationChange object.
Abstract
fcmSpecifies the new Firebase Cloud Messaging registration token.
IMPORTANT
Do not invoke this method if the Firebase Cloud Messaging registration token does not need to
be updated.
the new Firebase Cloud Messaging registration token.
a DeviceInformationChange object.
Abstract
disableDisables the push notifications on the server side (i.e. the server will not send authentication push notifications).
To re-enable the sending of push notifications, execute a DeviceInformationChange and provide the Firebase Cloud Messaging registration token through the method fcmRegistrationToken.
a DeviceInformationChange object.
Abstract
retrySpecifies the retry policy to be used.
For some errors (such as networking errors) retrying is meaningful, this parameter specifies the retry policy to be followed if one of these errors occurs.
If no retry policy is provided NoRetryPolicy will be used.
the retry policy.
a DeviceInformationChange object.
Abstract
onSpecifies the object that will be invoked if the device information for the user was updated successfully.
IMPORTANT
Providing the onSuccess is required.
the function which is invoked on successful update.
a DeviceInformationChange object.
Abstract
onSpecifies the object that will be invoked if the dispatch device information change failed.
IMPORTANT
Providing the onError is required.
the function which receives a DeviceInformationChangeError.
a DeviceInformationChange object.
Abstract
requestSpecifies the additional request headers that must be included in the HTTP requests sent by the operation.
the HTTP headers.
an HttpOperation object.
Abstract
executeGenerated using TypeDoc
The object that changes the device information.
The device information change can be used to
If neither name or fcmRegistrationToken are provided, the provided onSuccess callback will be executed when execute is invoked.
Usage example for changing device information: