SpeechSynthesisCancellationDetails Class
Contains detailed information about why a result was canceled.
- Inheritance
-
builtins.objectSpeechSynthesisCancellationDetails
Constructor
SpeechSynthesisCancellationDetails(result: SpeechSynthesisResult | None = None, stream: AudioDataStream | None = None)
Parameters
Name | Description |
---|---|
result
|
Default value: None
|
stream
|
Default value: None
|
Attributes
error_code
The error code in case of an unsuccessful speech synthesis (Reason is set to Error). If Reason is not Error, ErrorCode is set to NoError.
error_details
The error message in case of an unsuccessful speech synthesis (Reason is set to Error)
reason
The reason the result was canceled.
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.
Azure SDK for Python