Delen via


TranscriptionOptions Constructor

Definition

Initializes a new instance of TranscriptionOptions.

public TranscriptionOptions (Uri transportUri, string locale, bool? startTranscription = default, Azure.Communication.CallAutomation.TranscriptionTransport transcriptionTransport = default);
new Azure.Communication.CallAutomation.TranscriptionOptions : Uri * string * Nullable<bool> * Azure.Communication.CallAutomation.TranscriptionTransport -> Azure.Communication.CallAutomation.TranscriptionOptions
Public Sub New (transportUri As Uri, locale As String, Optional startTranscription As Nullable(Of Boolean) = Nothing, Optional transcriptionTransport As TranscriptionTransport = Nothing)

Parameters

transportUri
Uri

Transport URL for live transcription.

locale
String

Defines the locale for the data e.g en-CA, en-AU.

startTranscription
Nullable<Boolean>

Determines if the transcription should be started immediately after call is answered or not.

transcriptionTransport
TranscriptionTransport

The type of transport to be used for live transcription, eg. Websocket.

Exceptions

transportUri or locale is null.

Applies to