SpeechSynthesisCancellationDetails 클래스

결과가 취소된 이유에 대한 자세한 정보를 포함합니다.

상속
builtins.object
SpeechSynthesisCancellationDetails

생성자

SpeechSynthesisCancellationDetails(result: SpeechSynthesisResult = None, stream: AudioDataStream = None)

매개 변수

Name Description
result
기본값: None
stream
기본값: None

특성

error_code

음성 합성에 실패한 경우의 오류 코드입니다(이유는 오류로 설정됨). Reason가 Error가 아니면 ErrorCode가 NoError로 설정됩니다.

error_details

음성 합성에 실패한 경우 오류 메시지입니다(이유는 오류로 설정됨).

reason

결과가 취소된 이유입니다.