Skip to content

Classic API: Remote UI

Gyeonghwan Hong edited this page Dec 21, 2020 · 5 revisions

Parent Document: ANT APIs

App API is the set of APIs for managing application's life-cycle states.

You need to load app API module before you use its API as following.

var remoteUiApi = require(process.env.ANT_BIN_DIR + 'remote-ui').app();

makeNotiPage()

  • NotificationPage remoteUiApi.makeNotiPage(String title)

makeConfigPage()

  • ConfigPage remoteUiApi.makeConfigPage(String title)

NotificationPage()

  • Constructor
    • NotificationPage(String title)
  • Properties
    • String title
    • Object descriptor
      • String appTitle
      • String descriptor

NotificationPage.addText()

  • NotificationPage.addText(String text)

NotificationPage.addImg()

  • NotificationPage.addImg(String imgPath)

NotificationPage.sendToCompanion()

  • NotificationPage.sendToCompanion()

ConfigPage()

  • Constructor
    • ConfigPage(String title)