voice.onRequestClose - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki

gigagenie.voice.onRequestClose

API ์„ค๋ช…

  • ์„œ๋น„์Šค ์ข…๋ฃŒ ์ˆ˜์‹  API
  • ์Œ์„ฑ ๋ช…๋ น(์ข…๋ฃŒ, ๋‹ซ๊ธฐ ๋ฐœํ™”์— ๋”ฐ๋ฅธ)๊ณผ ๋ฆฌ๋ชจ์ปจ ๋‚˜๊ฐ€๊ธฐ ํ‚ค ํด๋ฆญ์‹œ ์„œ๋น„์Šค ์ข…๋ฃŒ ์ด๋ฒคํŠธ๋ฅผ ์ „๋‹ฌ
  • onRequestClose ์ฝœ๋ฐฑ์—์„œ ์ข…๋ฃŒ ์ฒ˜๋ฆฌ๋ฅผ ํ•  ๊ฒฝ์šฐ ๋งˆ์ง€๋ง‰์— gigagenie.voice.svcFinished ๋ฅผ ํ˜ธ์ถœํ•ด์•ผ ํ•จ

API ๊ตฌ์กฐ

  • function callback()

์‚ฌ์šฉ ์˜ˆ์‹œ

gigagenie.voice.onRequestClose = function () {
    // ํ•„์š”ํ•œ ๊ฒฝ์šฐ 3rd party ๋‚ด๋ถ€ ์›น ์„œ๋น„์Šค ์ข…๋ฃŒ ์ฒ˜๋ฆฌ๊ฐ€ ์„ ํ–‰๋˜์–ด์•ผ ํ•จ
    gigagenie.voice.svcFinished(null, function (result_cd, result_msg, extra) {
    });
};

ํ™œ์šฉ ์˜ˆ์ œ๋Š” (GiGA Genie ๊ตฌ๊ตฌ๋‹จ)์—์„œ ํ™•์ธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.