init.stopBgAction - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.init.stopBgAction (Deprecated)
API ์ค๋ช
- Background Action ์ค์ง API
- Full/Overlay ActionCode์์ ์คํ์ค์ธ ์น์์ ์คํ์ค์ธ Background Action์ ์ค์ง
API ๊ตฌ์กฐ
- function stopBgAction(options,callback)
options
result_cd
200
: ์ค์ง ์ฑ๊ณต
500
: ์์คํ
์๋ฌ
extra
์ฌ์ฉ ์์
// callback ๋ฐฉ์
var options = {};
gigagenie.init.stopBgAction(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("Background Service stopped.");
} else {
console.log("stopBgAction is fail.");
console.log("result_cd: " + extra.result_cd);
}
});