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.

  • Method Details

    • fcmRegistrationTokenInServer

      Optional<String> fcmRegistrationTokenInServer()
      The firebase registration token in the server.
      Returns:
      the firebase registration token in the server
    • fcmRegistrationTokenInMobileDevice

      Optional<String> fcmRegistrationTokenInMobileDevice()
      The firebase registration token in the mobile device application (that is, as returned by DeviceInformation.fcmRegistrationToken() through LocalData.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