summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-06 11:56:42 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-06 11:57:10 +0900
commitb5702d25b7b5386fabd6a81a748ea2d6fe647fcd (patch)
tree3f736998f1a3074d251a6bc00480d15480b97412 /doc
parent321f08ed8d0a4d3b1f4bd486e8a4240f4d3443ee (diff)
Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I3609a157ffdf31aa19cad6ae0f809f52e2129d0d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/ApplicationGuide.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ApplicationGuide.md b/doc/ApplicationGuide.md
index 5bbf234..dd3f1f0 100644
--- a/doc/ApplicationGuide.md
+++ b/doc/ApplicationGuide.md
@@ -134,7 +134,7 @@ The port and token is provided by Application Framework
Execute the "tapShortcut()" function.
```
-libhs->tapShortcut("application_name");
+libhs->tapShortcut("application_id");
```
Regarding the detail of tap_shortcut() API, please refer [this](#HomeScreen\ API) section.
@@ -190,7 +190,7 @@ The communication protocols between libhomescreen and upper binder, upper binder
- [LibHomeScreen ()](api-ref/html/de/dd0/class_lib_home_screen.html#a724bd949c4154fad041f96a15ef0f5dc)
- [init (const int port, const std::string &token)](api-ref/html/de/dd0/class_lib_home_screen.html#a6a57b573cc767725762ba9beab032220)
-- [tapShortcut(const char *application_name)](api-ref/html/de/dd0/class_lib_home_screen.html#afb571c9577087b47065eb23e7fdbc903)
+- [tapShortcut(const char *application_id)](api-ref/html/de/dd0/class_lib_home_screen.html#afb571c9577087b47065eb23e7fdbc903)
- [onScreenMessage(const char *display_message)](api-ref/html/de/dd0/class_lib_home_screen.html#ac336482036a72b51a822725f1929523c)
- [onScreenReply(const char *reply_message)](api-ref/html/de/dd0/class_lib_home_screen.html#a6c065f41f2c5d1f58d2763bfb4da9c37)
- [registerCallback (void(*event_cb)(const std::string &event, struct json_object *event_contents), void(*reply_cb)(struct json_object *reply_contents), void(*hangup_cb)(void)=nullptr)](api-ref/html/de/dd0/class_lib_home_screen.html#a2789e8a5372202cc36f48e71dbb9b7cf)
@@ -286,8 +286,8 @@ note over App
LibHomeScreen::Event_TapShortcut
end note
-HomeScreenGUI->HomeScreenBinder: tapShortcut(application_name)
-HomeScreenBinder->App: event_handler(application_name)
+HomeScreenGUI->HomeScreenBinder: tapShortcut(application_id)
+HomeScreenBinder->App: event_handler(application_id)
@enduml
```