media.destroyChannel - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.media.destroyChannel
API μ€λͺ
- Channel μ κ±° API
media.createChannel
μμ μμ±ν Channelμ μ κ±°ν¨
API ꡬ쑰
- function destroyChannel(options,callback)
options
channeltype
: (String, Mandatory) media.createChannel
μμ μμ±ν channel type
sessionid
: (String, Mandatory) media.createChannel
μμ μμ±ν sessionid
result_cd
200
: μ±κ³΅
500
: μμ€ν
Error
extra
μ¬μ© μμ
// callback λ°©μ
var options = {};
options.sessionid = 'createchannelsessionid';
gigagenie.media.destroyChannel(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("destroyChannel Success..");
} else {
console.log("destroyChannel Fail");
}
});