Interface DeviceInformationMismatch.DeviceNameMismatch
- All Superinterfaces:
DeviceInformationMismatch
- Enclosing interface:
- DeviceInformationMismatch
public static interface DeviceInformationMismatch.DeviceNameMismatch
extends DeviceInformationMismatch
There is a mismatch between the name of the device in the server
and the one in the mobile device application.
Fixing this mismatch when invoking DeviceInformationSync
will update the values
in all servers with the values in the mobile device application.
If you rather have the value in the server to be used, you can provide the name returned
by nameInServer()
, 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 name of the device in the mobile application (that is, as returned byDeviceInformation.name()
throughLocalData.deviceInformation()
).The name of the device in the server.server()
The server where the mismatch occurs.
-
Method Details
-
nameInServer
String nameInServer()The name of the device in the server.- Returns:
- the name of the device in the server
-
nameInMobileDevice
String nameInMobileDevice()The name of the device in the mobile application (that is, as returned byDeviceInformation.name()
throughLocalData.deviceInformation()
).- Returns:
- the name of the device in the mobile application
-
server
Server server()The server where the mismatch occurs.- Returns:
- the server where the mismatch occurs
-