-
Notifications
You must be signed in to change notification settings - Fork 6
appinfo.getContainerId
ServiceSDK edited this page Jan 4, 2021
·
4 revisions
- ContainerId 조회 API
- 해당 앱에 대한 G-Box 의 ContainerId 를 조회함
- function getContainerId(options,callback)
-
options
- null
-
result_cd
-
200
: 성공 -
500
: 시스템 Error
-
-
extra
-
containerid
: (String) Container 의 ID 값 -
deviceid
: (String) 단말에 Unique 한 ID 값
-
// callback 방식
var options = {};
gigagenie.appinfo.getContainerId(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("The container id is " + extra.containerid);
console.log("The device id is " + extra.deviceid);
} else {
console.log("getContainerId is fail.");
}
});
// promise 방식
var options = {};
gigagenie.appinfo.getContainerId(options).then(function (extra) {
console.log("The container id is " + extra.containerid);
console.log("The device id is " + extra.deviceid);
}).catch(function (result_cd, result_msg, extra) {
console.log("getContainerId is fail.");
})
Copyright ⓒ 2017-2023 kt corp. All rights reserved.
- 개요
- 일반사항
- 참고사항
- 통합개발환경
- Appendix
- 기가지니 웹앱 로그 관리 가이드
- API 전체 보기
-
API초기화
- gigagenie.init
- gigagenie.init.changeContainerId
- gigagenie.init.onAppStatusChange
gigagenie.init.startBgActiongigagenie.init.stopBgActiongigagenie.init.checkBgActiongigagenie.init.startFgActiongigagenie.init.stopFgActiongigagenie.init.checkFgActiongigagenie.init.fgCallgigagenie.init.onFgCallgigagenie.init.bgCallgigagenie.init.onBgCall- gigagenie.init.runApp
-
Voice API
- voice.getVoiceText
- voice.sendTTS
- voice.onVoiceCommand
- voice.setKwsVoiceRecv
- voice.onSelectedIndex
- voice.onRequestClose
- voice.svcFinished
- voice.onActionEvent
- voice.stopTTS
- voice.setVoiceFilter
- voice.resetVoiceFilter
- voice.onVoiceFilterMsg
- voice.onRegToneResults
- voice.setVoiceRecogDomain
- voice.onVocDomainTimeout
- Call API
- 데이터 관리
- G-Box 정보 관리 API
-
Media API
- media.onMuteRequest
- media.showSoftKeyboard
- media.onRemoteKeyEvent
- media.startRecordAudio
- media.onVoiceRecordComplete
- media.stopRecordAudio
- media.createChannel
- media.destroyChannel
- media.startWebRTCAudio
- media.stopWebRTCAudio
- media.keepaliveChannel
- media.onChannelEvent
- media.getOTVChannel
- media.setOTVChannel
- media.sendMsgToOTVWebApp
- media.onOTVWebAppMsg
- media.onSoftKeyEvent
- Payment API
- Vision API
- 통계 API
- Admin API