Commit 7f969dce by Lee Munkyeong

IOS場合のif作成

parent 10fd73d3
...@@ -2632,8 +2632,12 @@ CHAT_UI.startCollaboration = function(collaborationType) { ...@@ -2632,8 +2632,12 @@ CHAT_UI.startCollaboration = function(collaborationType) {
socket.emit('createMessage', { socket.emit('createMessage', {
text: DATA_MESSAGE_SCHEME + FINISH_ALL_COLLABORATION_SIGNAL text: DATA_MESSAGE_SCHEME + FINISH_ALL_COLLABORATION_SIGNAL
}, 0); }, 0);
if (CHAT_UTIL.isIOS()) {
//TODO ルーム全協業終了API
} else if (CHAT_UTIL.isAndroid()) {
android.finishAllCollaboration(); android.finishAllCollaboration();
} }
}
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.startCollaboration.postMessage(collaborationType); webkit.messageHandlers.startCollaboration.postMessage(collaborationType);
......
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