var chatInnerCallback = function (data, status) { switch (status){ case "connect success": break; case "connect failed": case "connect closed": break; case "onChatRoomMessage": { switch(data.type) { case "createChatRoom": break; case "deleteChatRoom": break; case "joinChatRoom": break; case "recvChatPrivateMsg": case "recvChatMsg": break; case "chatroomUserKicked": break; case "getRoomOnlineNum": break; case "serverErr": break; } } break; } }
StarRtc.StarChatSDK = function (_oper, _userCallback, _userData, _liveType, _starUser, _starConfig)
|