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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET