media.stopRecordAudio - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.media.stopRecordAudio
API μ€λͺ
- μμ± λ
Ήμ μ€μ§ API
- μμ± λ
Ήμμ μ€μ§ν¨
- μμ± λ
Ήμ μ€μ§ APIλ μ¦μ μλ΅νλ©°,
media.onVoiceRecordComplete
μ μ€λ₯ μ΄λ²€νΈλ₯Ό 503
μΌλ‘ μ λ¬ν¨
API ꡬ쑰
- function stopRecordAudio(options,callback)
options
result_cd
200
: μ±κ³΅
404
: μμ± λ
Ήμ μμ² μ€μ΄ μλ
500
: μμ€ν
Error
extra
μ¬μ© μμ
gigagenie.media.onVoiceRecordComplete = function (result_cd, inBuffer) {
if (result_cd === 200) {
console.log("recording success");
} else if (result_cd === 503) {
console.log("recording interruppted");
} else console.log("recording fail:" + result_cd);
};
gigagenie.media.stopRecordAudio(null, function (result_cd, result_msg, extra) {
console.log(result_cd);
});