Interface FcmServicePushClient

  • All Known Implementing Classes:
    FcmServicePushClientImpl

    public interface FcmServicePushClient
    The FCM service push client.
    • Method Summary

      Modifier and Type Method Description
      Task<Void> deregister()
      Deregisters the FCM registration token bound to the currently logged in user's device on Stitch.
      Task<Void> register​(String registrationToken)
      Registers the given FCM registration token with the currently logged in user's device on Stitch.
    • Method Detail

      • register

        Task<Void> register​(String registrationToken)
        Registers the given FCM registration token with the currently logged in user's device on Stitch.
        Parameters:
        registrationToken - the registration token to register.
        Returns:
        A Task that completes when the registration is finished.
      • deregister

        Task<Void> deregister()
        Deregisters the FCM registration token bound to the currently logged in user's device on Stitch.
        Returns:
        A Task that completes when the deregistration is finished.