1 Roku Object Reference Matches HD600 Software Version: 1.1.28 Matches HD2000 Software Version: 1.1.20 California, USA www.rokulabs.co
10 roVideoPlayer A Video Player is used to play back video files (using the generic ifMediaTransport Interface). If the message port is set, the obj
11 Users can add events which trigger messages of the roVideoEvent “Timecode Hit” at the specified millisecond times in a video file. The data field o
12 roAudioPlayer An audio player is used to play back audio files (using the generic ifMediaTransport Interface). If the message port is set, the ob
13 set_volume Volume is a percentage and so takes a value 0-100. The volume value is clipped prior to use i.e. SetVoume(101) will set the volume to 10
14 roVideoEvent() and roAudioEvent() Video and Audio events can have one of these integer values. They are declared as separate classes as they are l
15 roGpioControlPort This object is used to control and wait for events on the BrightSign generic DB25 control port and front panel. Typically LEDs
16 roQuadravoxSNS5 This object is used to control and wait for events on the Quadravox SNS5 serial button/LED box. Interfaces: • ifSetMessagePort ro
17 roKeyboard This object is used to wait for events from a USB keyboard. Interfaces: • ifSetMessagePort rotVOID SetPort(rotOBJECT) roKeyboardPres
18 roIRRemote The key code from Roku’s custom code using the NEC protocol is decoded and sent as an event. Use this object to register your Event p
19 roImagePlayer Display static bitmap images on the video display. Interfaces: • ifImageControl rotBOOL DisplayFile(rotSTRING image_filename); ro
2 Table of Contents INTRODUCTION ...
20 Roku> image filename.bmp 0 0 0 Roku> image filename.bmp 2 0 0 This example script uses preloaded images to improve the UI speed when the
21 roInt, roFloat, roString The intrinsic types rotINT32, rotFLOAT, and rotSTRING have an object and interface equivalent. These are useful in the f
22 roTouchScreen The touch screen object allows you accept events from touch screen panels or Mice. Currently only the Elo USB touch screens or a US
23 a. rotINT32 GetEvent() EnableRollover: Use this function to enable a rollover for a touch region. It accepts the touch region’s ID, two strings
24 REM Pass enable cursor display: TRUE for on, and FALSE for off REM The cursor will only enable if there is a mouse attached REM t.EnableCursor(TRU
25 roSerialPort This object controls the RS232 serial port, allowing you to receive input and send responses. roSerialPort has these interfaces: 1.
26 roDeviceInfo This object returns the model and version. This object has the following methods: • rotSTRING GetVersion() • rotINT32 GetVersionNu
3 Introduction Roku Objects (RO) are the standardized way Roku software exposes functionality for our products’ public SDKs. In other words, to pub
4 interface would contain only the new methods. The “old” method still exists in the original Interface. Older applications will only use the origin
5 BrightSign Object Library This section specifies each of the Roku Objects that are included with BrigthScript. Event Loops When creating anything m
6 roList A general purpose doubly link list. It can be used as a container for arbitrary length lists of Roku Objects. Interfaces: • ifList rot
7 roClassMessagePort A message port is the place messages (events) are sent. See the “Event Loops” section for more details. When using Roku Bright
8 roVideoMode This class allows you to set the output video resolution. The same video resolution is applied to all video outputs on BrightSign. Vi
9 roVideoModeChange If SetPort is called, messages that are of type roVideoModeChange will be sent to the port and has the following member functions
Kommentare zu diesen Handbüchern