Commit 33af738e by Lee Munkyeong

協業切替API連動

parent 801775ea
...@@ -193,7 +193,7 @@ $(function () { ...@@ -193,7 +193,7 @@ $(function () {
coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType); coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
if (isDocument) { if (isDocument) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.startContentView.postMessage({}); webkit.messageHandlers.startContentView.postMessage({});
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.startContentView(); android.startContentView();
} }
...@@ -365,6 +365,11 @@ function changeCollaboration(changeCollaborationType) { ...@@ -365,6 +365,11 @@ function changeCollaboration(changeCollaborationType) {
coview_api.ChangeCollaboration('audio'); coview_api.ChangeCollaboration('audio');
break; break;
} }
if (CHAT_UTIL.isIOS()) {
//TODO 協業変換API呼出
} else if (CHAT_UTIL.isAndroid()) {
android.changeCollaboration(changeCollaborationType, newMeetingId);
}
fw.sendToMsg('others', 'CHANGE_COLLABORATION', {"collaborationType": changeCollaborationType, "newMeetingId": newMeetingId}); fw.sendToMsg('others', 'CHANGE_COLLABORATION', {"collaborationType": changeCollaborationType, "newMeetingId": newMeetingId});
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment