Interface BaiduChannelRequest.Builder

    • Method Detail

      • apiKey

        BaiduChannelRequest.Builder apiKey​(String apiKey)

        The API key that you received from the Baidu Cloud Push service to communicate with the service.

        Parameters:
        apiKey - The API key that you received from the Baidu Cloud Push service to communicate with the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        BaiduChannelRequest.Builder enabled​(Boolean enabled)

        Specifies whether to enable the Baidu channel for the application.

        Parameters:
        enabled - Specifies whether to enable the Baidu channel for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretKey

        BaiduChannelRequest.Builder secretKey​(String secretKey)

        The secret key that you received from the Baidu Cloud Push service to communicate with the service.

        Parameters:
        secretKey - The secret key that you received from the Baidu Cloud Push service to communicate with the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.