-
- All Implemented Interfaces:
public interface FcmPushConfigurationBuilderFcmPushConfigurationBuilder class is a builder used to provide configuration for Firebase Push Notifications using Firebase Cloud Messaging. Use PushConfiguration.fcmPushConfigurationBuilder to create a builder instance. This builder should be used to specify:
FCM Sender ID
FCM Registration Token
-
-
Method Summary
Modifier and Type Method Description abstract FcmPushConfigurationBuildersenderID(String senderID)Sets the FCM Sender ID abstract FcmPushConfigurationBuilderregistrationToken(String registrationToken)Sets the FCM Registration Token abstract PushConfigurationbuild()Creates the resulting PushConfiguration. -
-
Method Detail
-
senderID
abstract FcmPushConfigurationBuilder senderID(String senderID)
Sets the FCM Sender ID
- Parameters:
senderID- Must not be null.
-
registrationToken
abstract FcmPushConfigurationBuilder registrationToken(String registrationToken)
Sets the FCM Registration Token
- Parameters:
registrationToken- Must not be null.
-
build
abstract PushConfiguration build()
Creates the resulting PushConfiguration.
-
-
-
-