Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
echo
2016-02-18 11:14:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
609695cd4ad7f56215a50a92ce3e69546ce6a9b5
609695cd
1 parent
8c100d6d
Updated 远程教学相关文档 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
8 deletions
远程教学相关文档.md
远程教学相关文档.md
View file @
609695c
...
...
@@ -64,14 +64,53 @@ http://192.168.0.100:8788/home/sign?identifier=7 (identifier是用户id)
#### 页面动作命令定义
*
点击按钮
*
单击控件
*
双击控件
*
播放器进度
*
其他事件
*
进入对比画面
*
对比画面单词图片被单击
*
对比画面单词图片被双击
通用的基本动作定义
*
按钮点击(command:clickButton)
*
单击控件(command:singleTap)
*
双击控件(command:doubleTap)
*
分段控件的点击(command:clickSegmentedControl)
*
分页ScrollView的滚动(command:gotoSpecifiedScrollViewPage)
例子
```
type:templateAction
command:clickButton
controlId:WordExplanationTextSwitcher
index:2(保证页面内消息按顺序)
type:templateAction
command:clickSegmentedControl
controlId:WordCompareSegmentedControl
parameter:1(在这里是分段的索引)
index:2(保证页面内消息按顺序)
type:templateAction
command:gotoSpecifiedScrollViewPage
controlId:LogicTreeScrellView
parameter:3(在这里是页码)
index:2(保证页面内消息按顺序)
```
多媒体播放器动作定义
*
播放(play)
*
暂停(pause)
*
停止(stop)
*
全屏(fullscreen)
*
小屏(smallscreen)
*
进度消息(progress)
```
type:templateAction
subType:playerAction
command:play
index:2
type:templateAction
subType:playerAction
command:progress
parameter:进度百分比(这个应该更通用)
index:2
```
### 画板相关消息
...
...
Please
register
or
login
to post a comment