AWSTranscribeChannelDefinition

Objective-C

@interface AWSTranscribeChannelDefinition

Swift

class AWSTranscribeChannelDefinition

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).

  • Specify the audio channel you want to define.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable channelId;

    Swift

    var channelId: NSNumber? { get set }
  • Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants.

    Declaration

    Objective-C

    @property (nonatomic) AWSTranscribeParticipantRole participantRole;

    Swift

    var participantRole: AWSTranscribeParticipantRole { get set }