Package com.sinch.android.rtc
Interface HmsPushBuilder
-
public interface HmsPushBuilderHmsPushBuilder class is nested builder for theUserControllerBuilderthat specifies configuration for Huawei Push Notifications using HMS (Huawei Mobile Services). This builder should be used to specify:- HMS Device Token
- HMS Application id
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HmsPushBuilderapplicationId(java.lang.String applicationId)Sets the HMS Application Id.HmsPushBuilderdeviceToken(java.lang.String deviceToken)Sets the HMS Device Token.UserControllerBuilderdone()Creates the resulting parent UserControllerBuilder.
-
-
-
Method Detail
-
deviceToken
HmsPushBuilder deviceToken(java.lang.String deviceToken)
Sets the HMS Device Token.- Parameters:
deviceToken- Must not be null.- Returns:
- The HmsPushBuilder instance.
-
applicationId
HmsPushBuilder applicationId(java.lang.String applicationId)
Sets the HMS Application Id.- Parameters:
applicationId- Must not be null.- Returns:
- The HmsPushBuilder instance.
-
done
UserControllerBuilder done()
Creates the resulting parent UserControllerBuilder.- Returns:
- A new UserControllerBuilder instance.
-
-