This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
en:tvip_json_middleware_api:1 [2017/03/21 10:49] Alexander [Basic request format] |
en:tvip_json_middleware_api:1 [2017/11/17 13:28] Efim Karelink [Messages] |
||
---|---|---|---|
Line 534: | Line 534: | ||
Supported message types:\\ | Supported message types:\\ | ||
^Message Type ^Source ^Description^ | ^Message Type ^Source ^Description^ | ||
- | | user_message | server | Display text messages to user screen, availible types: notify, confirm. | | + | | user_message | server | Display text messages to user screen, available types: notify, confirm. | |
| reinit | server | Ask client to refresh server_info. | | | reinit | server | Ask client to refresh server_info. | | ||
| refresh_channel_list | server | Telling device to update channel list. | | | refresh_channel_list | server | Telling device to update channel list. | | ||
| restart | server | Depending on the platform restarts app or OS. | | | restart | server | Depending on the platform restarts app or OS. | | ||
+ | | switch_to_channel | server | Switch the channel specified. Specify channel id as key-value //"channel_id":<channel_id>// element of //'args'// array. | | ||
+ | | start_application | server | Run the application specified. The application may be defined as key-value //"application":<short_app_name>// element of //'args'// array. | | ||
+ | | get_logs | server | Request to get logs and deliver them to the server. | | ||
+ | | get_screenshot | server | Request to make the screenshot from the current video playing and deliver them to the server. | | ||
| open_url | server | Display data from given url to user screen. | | | open_url | server | Display data from given url to user screen. | | ||
| force_update | server | Telling device to update app/firmware. | | | force_update | server | Telling device to update app/firmware. | |