-
Notifications
You must be signed in to change notification settings - Fork 28
Classic API: Remote UI
Gyeonghwan Hong edited this page Dec 21, 2020
·
5 revisions
Parent Document: ANT APIs
Remote UI API is the set of APIs for displaying the output of IoT applications onto companion device's screen.
As now, ANT supports Android-based smartphones as the companion devices of the ANT framework.
You need to load remote UI API module before you use its API as following.
var remoteUiApi = require(process.env.ANT_BIN_DIR + 'ant').remoteUI();
- NotificationPage remoteUiApi.makeNotiPage(String title)
- Constructor
- NotificationPage(String title)
- Properties
- String title
- Object descriptor
- String appTitle
- String descriptor
- NotificationPage.addText(String text)
- NotificationPage.addImg(String imgPath)
- NotificationPage.sendToCompanion()
- ConfigPage remoteUiApi.makeConfigPage(String title)
- Constructor
- ConfigPage(String title)
- Home
- About
- Getting Started
-
ANT APIs
- ANT Classic API
- ANT Lite API
- Getting Involved