X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fonscreenapp.git;a=blobdiff_plain;f=doc%2Fparts%2FshowOnscreen.svg;fp=doc%2Fparts%2FshowOnscreen.svg;h=6f4d3ea9c965e54248f7e2867b517978c613e707;hp=0000000000000000000000000000000000000000;hb=aee1b69e8e207081a3d8b2670980671a9fbc78b8;hpb=483c21f9d648f2cd58e00f39fcbee7b5dcbe2bc5 diff --git a/doc/parts/showOnscreen.svg b/doc/parts/showOnscreen.svg new file mode 100644 index 0000000..6f4d3ea --- /dev/null +++ b/doc/parts/showOnscreen.svg @@ -0,0 +1,84 @@ +show/hide onscreen phaseuseruserhomescreen-servicehomescreen-serviceAppApponscreenapponscreenappwindowmanagerwindowmanagershow onscreenthe operation request onscreenshowWindow(){"application_id": "onscreenapp","parameter": {"title": "onscreen title","type": "critical,exclamation,question,information","contents": "message contents","buttons": ["button_name1", "button_name2", "button_name3"]}}push showWindow event{"application_id": "onscreenapp","parameter": {"title": "onscreen title","type": "critical,exclamation,question,information","contents": "message contents","buttons": ["button_name1", "button_name2", "button_name3"],"replyto":"caller application id"}}get and save parameteractivateWindow("onscreeapp", "on_screen")alt[can show]push syncDraw eventendDraw("onscreeapp")show onscreen as request pattern[can't show]do nothinghide onscreentap onscreen's buttondeactivateWindow("onscreenapp");hide windowreplyShowWindow(){"application_id":"the application who called onscreenapp","parameter": {"buttonName": "VOLUME_UP"}}push replyShowWindow eventcall reply function \ No newline at end of file