Package com.sinch.android.rtc
Interface HmsPushBuilder
-
public interface HmsPushBuilder
HmsPushBuilder class is nested builder for theUserControllerBuilder
that 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 HmsPushBuilder
applicationId(java.lang.String applicationId)
Sets the HMS Application Id.HmsPushBuilder
deviceToken(java.lang.String deviceToken)
Sets the HMS Device Token.UserControllerBuilder
done()
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.
-
-