summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-04 14:29:15 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-04 14:29:15 +0800
commitba57a371402f206f6b5d8ba0a416efe5daa2b125 (patch)
treee9e806573c4b9a4b596fa228e83daadc5ba4dd1b /doc
parent3e756f014d545a28c812e97aa52d8e52b963ec4e (diff)
Bug-AGL: SPEC-2714 Change-Id: Ia2697a2becaee2d13d6d58cfb2cb04af286d69ec Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/ApplicationGuide.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ApplicationGuide.md b/doc/ApplicationGuide.md
index f0de4d7..376d1f5 100644
--- a/doc/ApplicationGuide.md
+++ b/doc/ApplicationGuide.md
@@ -109,7 +109,7 @@ To use HomeScreen API, an application shall paste the following configuration de
### How to call HomeScreen APIs from your Application?
HomeScreen provides a library which is called "libhomescreen".
This library treats "json format" as API calling.
-For example, if an application wants to call "showWIndow()" API, the you should implement as below.
+For example, if an application wants to call "showWIndow()" API, then you should implement as below.
At first the application should create the instance of libhomescreen.
@@ -171,7 +171,7 @@ The upper binder is for application side security context for applications. The
Usually application side binder has some business logic for each application, so the number of binders depend on the number of applications which use HomeScreen.
On the other hand, regarding lower binder there is only one module in the system. This binder receives all messages from multiple applications (in detail, it comes from upper layer binder).
-The communication protocols between libhomescreen and upper binder, upper binder and lower binder, lower binder (homescreen-binding) are WebSocket.
+The communication protocols between libhomescreen and upper binder, upper binder and lower binder(homescreen-binding) are WebSocket.
![software-stack.png](parts/software-stack.png)
@@ -184,8 +184,8 @@ The communication protocols between libhomescreen and upper binder, upper binder
- LibHomeScreen::init (const int port, const std::string &token)
```
- port [in] : This argument should be specified to the port number to be used for websocket
- token [in] : This argument should be specified to the token to be used for websocket
+ port [in] : This argument should be specified to the port number to be used for WebSocket
+ token [in] : This argument should be specified to the token to be used for WebSocket
Create connection to homescreen-service by port and token which provided by
application framework. This API must be called before calling other api.
@@ -520,4 +520,4 @@ hss-> homescreen: push showInformation event
homescreen->homescreen: display information message 3s
@enduml
-``` \ No newline at end of file
+```