Package

## Interface HmsPushConfigurationBuilder

- All Implemented Interfaces:

      public interface HmsPushConfigurationBuilder

  HmsPushConfigurationBuilder 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

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract HmsPushConfigurationBuilder` | `deviceToken(String deviceToken)` | Sets the HMS Device Token.
    `abstract HmsPushConfigurationBuilder` | `applicationId(String applicationId)` | Sets the HMS Application Id.
    `abstract PushConfiguration` | `build()` | Creates the resulting PushConfiguration.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### deviceToken

           abstract HmsPushConfigurationBuilder deviceToken(String deviceToken)

      Sets the HMS Device Token.

      Parameters:
        `deviceToken` - Must not be null.

    - #### applicationId

           abstract HmsPushConfigurationBuilder applicationId(String applicationId)

      Sets the HMS Application Id.

      Parameters:
        `applicationId` - Must not be null.

    - #### build

           abstract PushConfiguration build()

      Creates the resulting PushConfiguration.