Interface FcmServicePushClient
-
- All Known Implementing Classes:
FcmServicePushClientImpl
public interface FcmServicePushClientThe FCM service push client.
-
-
Field Summary
Fields Modifier and Type Field Description static NamedPushClientFactory<FcmServicePushClient>factory
-
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.
-
-
-
Field Detail
-
factory
static final NamedPushClientFactory<FcmServicePushClient> factory
-
-
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
Taskthat completes when the registration is finished.
-
-