Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
BrightSign players use a standardized library of BrightScript objects to expose functionality for software development. To publish a new API for interacting with BrightSign hardware, we create a new BrightScript object. Insert excerpt BrightScript Version Navigation Menu BrightScript Version Navigation Menu nopanel true
The pages in this section provide definitions for objects that can be used in BrightScript. A brief description, a list of interfaces, and the member functions of the interfaces are provided for each object class. While most BrightScript objects have self-contained pages, some objects are grouped on the same page if they are closely related or depend on one another for functionality.
Here is a sample of objects that are used frequently when creating applications in BrightScript:
...
Configures video output and interacts with displays using CEC/EDID. | |
roRectangle |
...
Used to define zones/widgets on the screen. This object is passed to many other objects to define their screen area, including roVideoPlayer, roImagePlayer, roImageWidget, roHtmlWidget, roClockWidget, and roCanvasWidget. | |
roVideoPlayer |
...
Plays video files, streams, and HDMI input. | |
roImagePlayer |
...
Displays images. | |
roHtmlWidget |
...
Displays local or remote HTML content using the Chromium rendering engine. | |
roNetworkConfiguration |
...
Used to configure Ethernet, WiFi, and local network parameters. | |
roDeviceInformation |
...
Used to retrieve a wide array of system information, including model type, device serial number, and firmware version. |
Interfaces and Methods
Every BrightScript object consists of one or more "interfaces." An interface consists of one or more "methods." For example, the roVideoPlayer object has several interfaces, including ifMessagePort. The interface ifMessagePort has one method: SetPort()
.
...