Interface ChannelDefinition.Builder

    • Method Detail

      • channelId

        ChannelDefinition.Builder channelId​(Integer channelId)

        The channel ID.

        Parameters:
        channelId - The channel ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • participantRole

        ChannelDefinition.Builder participantRole​(String participantRole)

        Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.

        Parameters:
        participantRole - Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ParticipantRole, ParticipantRole
      • participantRole

        ChannelDefinition.Builder participantRole​(ParticipantRole participantRole)

        Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.

        Parameters:
        participantRole - Specifies whether the audio in a channel belongs to the AGENT or CUSTOMER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ParticipantRole, ParticipantRole