Interface HmsPushBuilder


  • public interface HmsPushBuilder
    HmsPushBuilder class is nested builder for the UserControllerBuilder 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 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.