Showing
1 changed file
with
0 additions
and
52 deletions
| @@ -48,58 +48,6 @@ http://192.168.0.100:8788/home/sign?identifier=7 (identifier是用户id) | @@ -48,58 +48,6 @@ http://192.168.0.100:8788/home/sign?identifier=7 (identifier是用户id) | ||
| 48 | 48 | ||
| 49 | [详细内容](远程教学之页面动作消息) | 49 | [详细内容](远程教学之页面动作消息) |
| 50 | 50 | ||
| 51 | -页面动作相关消息应该附加上消息在页面内的操作序号,通过客户端逻辑保证教师版和学生版的操作顺序一致。 | ||
| 52 | - | ||
| 53 | -#### 页面动作命令定义 | ||
| 54 | - | ||
| 55 | -通用的基本动作定义 | ||
| 56 | -* 按钮点击(command:clickButton) | ||
| 57 | -* 单击控件(command:singleTap) | ||
| 58 | -* 双击控件(command:doubleTap) | ||
| 59 | -* 分段控件的点击(command:clickSegmentedControl) | ||
| 60 | -* 分页ScrollView的滚动(command:gotoSpecifiedScrollViewPage) | ||
| 61 | - | ||
| 62 | -例子 | ||
| 63 | -``` | ||
| 64 | -type:templateAction | ||
| 65 | -command:clickButton | ||
| 66 | -controlId:WordExplanationTextSwitcher | ||
| 67 | -index:2(保证页面内消息按顺序) | ||
| 68 | - | ||
| 69 | -type:templateAction | ||
| 70 | -command:clickSegmentedControl | ||
| 71 | -controlId:WordCompareSegmentedControl | ||
| 72 | -parameter:1(在这里是分段的索引) | ||
| 73 | -index:2(保证页面内消息按顺序) | ||
| 74 | - | ||
| 75 | -type:templateAction | ||
| 76 | -command:gotoSpecifiedScrollViewPage | ||
| 77 | -controlId:LogicTreeScrellView | ||
| 78 | -parameter:3(在这里是页码) | ||
| 79 | -index:2(保证页面内消息按顺序) | ||
| 80 | -``` | ||
| 81 | - | ||
| 82 | -多媒体播放器动作定义 | ||
| 83 | -* 播放(play) | ||
| 84 | -* 暂停(pause) | ||
| 85 | -* 停止(stop) | ||
| 86 | -* 全屏(fullscreen) | ||
| 87 | -* 小屏(smallscreen) | ||
| 88 | -* 进度消息(progress) | ||
| 89 | - | ||
| 90 | -``` | ||
| 91 | -type:templateAction | ||
| 92 | -subType:playerAction | ||
| 93 | -command:play | ||
| 94 | -index:2 | ||
| 95 | - | ||
| 96 | -type:templateAction | ||
| 97 | -subType:playerAction | ||
| 98 | -command:progress | ||
| 99 | -parameter:进度百分比(这个应该更通用) | ||
| 100 | -index:2 | ||
| 101 | -``` | ||
| 102 | - | ||
| 103 | ### 画板相关消息 | 51 | ### 画板相关消息 |
| 104 | 52 | ||
| 105 | [详细内容](远程教学之画板相关消息) | 53 | [详细内容](远程教学之画板相关消息) |
-
Please register or login to post a comment