Class FcmServicePushClientImpl

    • Method Detail

      • register

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

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