Interface DeviceInformationMismatch.FcmRegistrationTokenMismatch
- All Superinterfaces:
DeviceInformationMismatch
- Enclosing interface:
- DeviceInformationMismatch
public static interface DeviceInformationMismatch.FcmRegistrationTokenMismatch
extends DeviceInformationMismatch
There is a mismatch between the firebase registration token in the server
and the one in the mobile device application.
Fixing this mismatch when invoking DeviceInformationSync
will update the values
in the server with the values in the mobile device application.
If you rather have the value in the server to be used, you can provide the registration
token returned by fcmRegistrationTokenInServer()
, and execute a
DeviceInformationChange
operation with that value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.nevis.mobile.sdk.api.operation.DeviceInformationMismatch
DeviceInformationMismatch.DeviceNameMismatch, DeviceInformationMismatch.FcmRegistrationTokenMismatch, DeviceInformationMismatch.MissingAuthenticatorInMobileDevice, DeviceInformationMismatch.MissingAuthenticatorInServer, DeviceInformationMismatch.MissingDeviceInformationInMobileDevice, DeviceInformationMismatch.MissingDeviceInformationInServer
-
Method Summary
Modifier and TypeMethodDescriptionThe firebase registration token in the mobile device application (that is, as returned byDeviceInformation.fcmRegistrationToken()
throughLocalData.deviceInformation()
).The firebase registration token in the server.server()
The server where the mismatch occurs.
-
Method Details
-
fcmRegistrationTokenInServer
The firebase registration token in the server.- Returns:
- the firebase registration token in the server
-
fcmRegistrationTokenInMobileDevice
The firebase registration token in the mobile device application (that is, as returned byDeviceInformation.fcmRegistrationToken()
throughLocalData.deviceInformation()
).- Returns:
- the firebase registration token in the mobile device application
-
server
Server server()The server where the mismatch occurs.- Returns:
- the server where the mismatch occurs
-