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.
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python