### 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.
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)
- 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.
homescreen->homescreen: display information message 3s
@enduml
-```
\ No newline at end of file
+```