voice.stopTTS - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.voice.stopTTS
API 설명
- TTS 중단 API
- TTS와 음성 인식 모두를 중지시킴
API 구조
- function stopTTS(options,callback)
options
- null
extra
- null
result_cd
200
: 중단 성공404
: TTS, 음성인식 실행 중이 아님500
: 실행 오류
사용 예시
// callback
gigagenie.voice.stopTTS(null, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
//do next action
} else {
//result_cd, result_msg 오류 전달
};
});
활용 예제는 (GiGA Genie 구구단)에서 확인 가능합니다.