X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=doc%2Fapi-ref%2Fhtml%2Fde%2Fdd0%2Fclass_lib_home_screen.html;fp=doc%2Fapi-ref%2Fhtml%2Fde%2Fdd0%2Fclass_lib_home_screen.html;h=66e6319c9b8cf39acebba2ce58ff71bed0342bd9;hb=31ff5ce755d00cf12ea2ffc96c33ed9acd36358f;hp=2181e107c80e40c0decf37c491d23ab6f05cc809;hpb=bbb4ee8e9974c4b008da84a1e504120f70606c92;p=apps%2Fagl-service-homescreen.git diff --git a/doc/api-ref/html/de/dd0/class_lib_home_screen.html b/doc/api-ref/html/de/dd0/class_lib_home_screen.html index 2181e10..66e6319 100644 --- a/doc/api-ref/html/de/dd0/class_lib_home_screen.html +++ b/doc/api-ref/html/de/dd0/class_lib_home_screen.html @@ -3,8 +3,7 @@
- - +Public Types | |
enum | EventType { Event_TapShortcut = 1, + |
enum | EventType { + Event_ShowWindow = 1, +Event_TapShortcut = 1, Event_OnScreenMessage, -Event_OnScreenReply +Event_OnScreenReply, + + Event_HideWindow, +Event_ReplyShowWindow, +Event_ShowNotification, +Event_ShowInformation + } |
using | handler_func = std::function< void(json_object *)> |
LibHomeScreen & | operator= (const LibHomeScreen &)=delete |
int | init (const int port, const std::string &token) |
int | init (const int port, const std::string &token) |
int | tapShortcut (const char *application_name) |
int | tapShortcut (const char *application_id) |
int | onScreenMessage (const char *display_message) |
int | onScreenReply (const char *reply_message) |
void | set_event_handler (enum EventType et, handler_func f) |
void | 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) |
void | 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) |
int | call (const std::string &verb, struct json_object *arg) |
int | unsubscribe (const std::string &event_name) |
int | showWindow (const char *application_id, json_object *json) |
int | hideWindow (const char *application_id) |
int | replyShowWindow (const char *application_id, json_object *json) |
int | showNotification (json_object *json) |
int | showInformation (json_object *json) |
void | on_hangup (void *closure, struct afb_wsj1 *wsj) |
void | on_call (void *closure, const char *api, const char *verb, struct afb_wsj1_msg *msg) |
void | on_event (void *closure, const char *event, struct afb_wsj1_msg *msg) |
void | on_event (void *closure, const char *event, struct afb_wsj1_msg *msg) |
void | on_reply (void *closure, struct afb_wsj1_msg *msg) |
+Public Attributes | |
const char * | _keyParameter = "parameter" |
const char * | _keyArea = "area" |
const char * | _areaNormal = "normal" |
const char * | _areaFullScreen = "fullscreen" |
const char * | _areaSplitMain = "split.main" |
const char * | _areaSplitSub = "split.sub" |
Static Public Attributes | |
static const std::vector< std::string > | api_list |
Definition at line 32 of file libhomescreen.hpp.
+Definition at line 31 of file libhomescreen.hpp.
Definition at line 42 of file libhomescreen.hpp.
+Definition at line 40 of file libhomescreen.hpp.
Definition at line 44 of file libhomescreen.hpp.
-Definition at line 42 of file libhomescreen.hpp.
+int LibHomeScreen::hideWindow | +( | +const char * | +application_id | ) | ++ |
Sending hide window event
+Call HomeScreen Service's hideWindow verb to release id's screen.
+Definition at line 503 of file libhomescreen.cpp.
+Definition at line 448 of file libhomescreen.cpp.
- +Definition at line 606 of file libhomescreen.cpp.
+Definition at line 458 of file libhomescreen.cpp.
-Definition at line 616 of file libhomescreen.cpp.
+Definition at line 439 of file libhomescreen.cpp.
-Definition at line 597 of file libhomescreen.cpp.
+void LibHomeScreen::registerCallback | ( | -void(*)(const std::string &event, struct json_object *event_contents) | +void(*)(const std::string &event, struct json_object *event_contents) | event_cb, | |
int LibHomeScreen::replyShowWindow | +( | +const char * | +application_id, | +
+ | + | json_object * | +json | +
+ | ) | ++ |
Sending reply onscreen message event
+Call HomeScreen Service's replyShowWindow verb to reply onscreen message.
+Definition at line 530 of file libhomescreen.cpp.
+int LibHomeScreen::showInformation | +( | +json_object * | +json | ) | ++ |
Sending show information event
+Call HomeScreen Service's information verb to show notification on Information Bar.
+Definition at line 584 of file libhomescreen.cpp.
+int LibHomeScreen::showNotification | +( | +json_object * | +json | ) | ++ |
Sending show notification event
+Call HomeScreen Service's notification verb to show notification on Status Bar.
+Definition at line 562 of file libhomescreen.cpp.
+int LibHomeScreen::showWindow | +( | +const char * | +application_id, | +
+ | + | json_object * | +json | +
+ | ) | ++ |
Sending show window event
+Call HomeScreen Service's showWindow verb to request display id's screen.
+Definition at line 467 of file libhomescreen.cpp.
+int LibHomeScreen::tapShortcut | ( | const char * | -application_name | ) | +application_id | ) |
When HomeScreen shortcut area is tapped, sending a event
Definition at line 220 of file libhomescreen.cpp.
-Definition at line 222 of file libhomescreen.cpp.
+const char* LibHomeScreen::_areaFullScreen = "fullscreen" | +
Definition at line 59 of file libhomescreen.hpp.
+ +const char* LibHomeScreen::_areaNormal = "normal" | +
Definition at line 58 of file libhomescreen.hpp.
+ +const char* LibHomeScreen::_areaSplitMain = "split.main" | +
Definition at line 60 of file libhomescreen.hpp.
+ +const char* LibHomeScreen::_areaSplitSub = "split.sub" | +
Definition at line 61 of file libhomescreen.hpp.
+ +const char* LibHomeScreen::_keyArea = "area" | +
Definition at line 55 of file libhomescreen.hpp.
+ +const char* LibHomeScreen::_keyParameter = "parameter" | +
Definition at line 54 of file libhomescreen.hpp.
+ +Definition at line 50 of file libhomescreen.hpp.
+Initial value:Definition at line 63 of file libhomescreen.hpp.
Definition at line 51 of file libhomescreen.hpp.
+Initial value:Definition at line 64 of file libhomescreen.hpp.