Skip to content

Lite API: Remote UI

Hayun Lee edited this page Dec 21, 2020 · 3 revisions

Parent Document: ANT APIs

Remote UI API takes charge of displaying the output of IoT applications onto the companion device's screen.

As now, ANT Lite supports only Android-based smartphones as the companion devices.

var remoteUIAPI = require('ant').remoteui;

Streaming View Pipeline

RemoteUIAPI.setStreamingViewPipeline()

  • void setStreamingViewPipeline(String pipeline, Function handler)

StreamingView Labels

RemoteUIAPI.setStreamingViewLabelText()

  • void setStreamingViewLabelText(String labelText, Function handler)

RemoteUIAPI.setStreamingViewBoundingBoxes()

  • void setStreamingViewBoundingBoxes(Object boundingBoxes)