Package com.sinch.android.rtc
Interface HmsPushConfigurationBuilder
-
- All Implemented Interfaces:
public interface HmsPushConfigurationBuilderHmsPushConfigurationBuilder class is a builder used to provide configuration for Huawei Push Notifications using HMS (Huawei Mobile Services). Use PushConfiguration.hmsPushConfigurationBuilder to create a builder instance. This builder should be used to specify:
HMS Device Token.
HMS Application Id.
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 HmsPushConfigurationBuilderdeviceToken(String deviceToken)Sets the HMS Device Token. abstract HmsPushConfigurationBuilderapplicationId(String applicationId)Sets the HMS Application Id. abstract PushConfigurationbuild()Creates the resulting PushConfiguration. -
-
Method Detail
-
deviceToken
abstract HmsPushConfigurationBuilder deviceToken(String deviceToken)
Sets the HMS Device Token.
- Parameters:
deviceToken- Valid HMS device token bound to this specific device.
-
applicationId
abstract HmsPushConfigurationBuilder applicationId(String applicationId)
Sets the HMS Application Id.
- Parameters:
applicationId- HMS application ID as registered in your HMS console.
-
build
abstract PushConfiguration build()
Creates the resulting PushConfiguration.
-
-
-
-