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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET