TranscriptionOptions Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.