Interface WhatsAppCallSettings.Builder

  • Method Details

    • callEnabled

      WhatsAppCallSettings.Builder callEnabled(Boolean callEnabled)

      Specifies whether calling is enabled for the phone number.

      Parameters:
      callEnabled - Specifies whether calling is enabled for the phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callHours

      The hours during which the business accepts calls on the phone number.

      Parameters:
      callHours - The hours during which the business accepts calls on the phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callHours

      The hours during which the business accepts calls on the phone number.

      This is a convenience method that creates an instance of the WhatsAppCallHours.Builder avoiding the need to create one manually via WhatsAppCallHours.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to callHours(WhatsAppCallHours).

      Parameters:
      callHours - a consumer that will call methods on WhatsAppCallHours.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • callIconVisibility

      WhatsAppCallSettings.Builder callIconVisibility(String callIconVisibility)

      The visibility setting for the call icon shown to end users in WhatsApp.

      Parameters:
      callIconVisibility - The visibility setting for the call icon shown to end users in WhatsApp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callbackPermissionStatus

      WhatsAppCallSettings.Builder callbackPermissionStatus(String callbackPermissionStatus)

      The callback permission status for the phone number.

      Parameters:
      callbackPermissionStatus - The callback permission status for the phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.