Package com.sinch.android.rtc
Interface FcmPushConfigurationBuilder
-
- 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.
For more extensive information on how to configure in app push notifications for incoming call see Push Notifications section of the online docs.
-
-
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- Firebase project number bound to your Firebase app.
-
registrationToken
abstract FcmPushConfigurationBuilder registrationToken(String registrationToken)
Sets the FCM Registration Token.
- Parameters:
registrationToken- Valid Firebase registration token bound to this specific device.
-
build
abstract PushConfiguration build()
Creates the resulting PushConfiguration.
-
-
-
-