voice.onSelectedIndex - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.voice.onSelectedIndex
API μ€λͺ
- μμ± μ ν λ²νΈ μμ API
- voice.setKwsVoiceRecv μ μμ± μ ν λ²νΈ μμ μ€μ API νΈμΆμ λ°λΌ μ¬μ©μκ° KWS μ΄ν λ°νν λ²νΈ μ 보λ₯Ό μ λ¬**(λ²νΈλ 1-6λ²κΉμ§λ§ μΈμ κ°λ₯ν¨)**
API ꡬ쑰
- function callback(event)
event
μ μ νν μ«μλ₯Ό Intλ‘ μ λ¬
μ¬μ© μμ
gigagenie.voice.onSelectedIndex = function (event) {
switch (event) {
case 1:
//1λ² μ ν
break;
case 2:
//2λ² μ ν
break;
case 3:
//3λ² μ ν;
case 4:
//4λ² μ ν
break;
default:
break;
}
};