Implement mvp methods
sgnl opened this issue · 0 comments
sgnl commented
-
.ip()
-
.apps()
-
.activeApp()
-
.info()
-
.keypress('key')
-
.keydown()
-
.keyup()
-
.icon()
-
.launch()
notes:
Device Module Api {
ip: Fn() => 'xxx.xxx.xxx.xxx:8060'
apps: Fn() => [{ ...appInfo }, ...]
activeApp: Fn => { ... }
keydown: Fn(key) => POST to device only
keyup: Fn(key) => POST to device only
keypress: Fn(key) => POST to device only
launch: Fn(AppId) => POST to device only
info: Fn() => xml2js
.icon: Fn(appId) => Binary data | img
}