ChannelDefinition

Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to AGENT (to indicate that it's the agent speaking).

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specify the audio channel you want to define.

Link copied to clipboard

Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.

Functions

Link copied to clipboard
inline fun copy(block: ChannelDefinition.Builder.() -> Unit = {}): ChannelDefinition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String