Commit d9af5309 by Takatoshi Miura

[iOS] 文書協業連動箇所の実装

parent 0af9fdc9
...@@ -344,3 +344,10 @@ CHAT_DB.getUserInfoList = function(shopMemberId) { ...@@ -344,3 +344,10 @@ CHAT_DB.getUserInfoList = function(shopMemberId) {
return callNativeApp("getUserInfoList", {"shopMemberId": shopMemberId}); return callNativeApp("getUserInfoList", {"shopMemberId": shopMemberId});
} }
}; };
CHAT_DB.createContentView = function() {
// Androidは実装不要
if (CHAT_UTIL.isIOS()) {
return callNativeApp("createContentView", {});
}
};
...@@ -178,7 +178,7 @@ $(function() { ...@@ -178,7 +178,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()) {
//TODO 画面を縮小し、会議室に入場する処理 webkit.messageHandlers.startContentView.postMessage({"meetingId": meetingId});
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.startContentView(meetingId); android.startContentView(meetingId);
} }
...@@ -187,7 +187,7 @@ $(function() { ...@@ -187,7 +187,7 @@ $(function() {
coview_api.CreateRoom(globalUserInfo.roomId, globalUserInfo.coWorkType); coview_api.CreateRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
if (isDocument) { if (isDocument) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
//TODO 画面を縮小し、会議室に入場する処理 meetingId = CHAT_DB.createContentView();
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
meetingId = android.createContentView(); meetingId = android.createContentView();
} }
...@@ -263,7 +263,7 @@ function Coview_moveToVideoShareArea() { ...@@ -263,7 +263,7 @@ function Coview_moveToVideoShareArea() {
function Coview_exitCollaboration(isDocument = false) { function Coview_exitCollaboration(isDocument = false) {
if (isDocument) { if (isDocument) {
if (CHAT_UTIL.isIOS()) { if (CHAT_UTIL.isIOS()) {
//TODO IOS会議室退場処理 webkit.messageHandlers.exitMeetingRoom.postMessage({});
} else if (CHAT_UTIL.isAndroid()) { } else if (CHAT_UTIL.isAndroid()) {
android.exitMeetingRoom(); android.exitMeetingRoom();
} }
......
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