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