Roku BrightSign Handbuch

Stöbern Sie online oder laden Sie Handbuch nach PC / Workstation Barebones Roku BrightSign herunter. Roku BrightSign Hardware manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 59
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Roku Object
Reference
Matches HD2000 Software Version: 2.0.94
California, USA
www.roku.com/brightsign
1
Seitenansicht 0
1 2 3 4 5 6 ... 58 59

Inhaltsverzeichnis

Seite 1 - California, USA

Roku Object Reference Matches HD2000 Software Version: 2.0.94 California, USA www.roku.com/brightsign1

Seite 2 - Table of Contents

roMessagePort A message port is the place messages (events) are sent. See the “Event Loops” section for more details. When using Roku BrightScript,

Seite 3

roVideoMode This class allows you to set the output video resolution. The same video resolution is applied to all video outputs on BrightSign. Vide

Seite 4 - Introduction

GetResX, GetResY (HD2000 only currently) Get the total display size for the current video mode. GetSafeX, GetSafeY (HD2000 only currently) Get the

Seite 5 - Object and Class Name Syntax

roVideoPlayer A Video Player is used to play back video files (using the generic ifMediaTransport Interface). If the message port is set, the object

Seite 6 - Zones (HD2000 only)

Users can add events which trigger messages of the roVideoEvent “Timecode Hit” at the specified millisecond times in a video file. The data field of

Seite 7 - BrightSign Object Library

roAudioPlayer An audio player is used to play back audio files (using the generic ifMediaTransport Interface). If the message port is set, the objec

Seite 8

1 - Stereo audio is mapped to AUDIO-2 2 - Stereo audio is mapped to AUDIO-1 set_volume Volume is a percentage and so takes a value 0-100. Th

Seite 9

Only a single file can be sent to an output at any given time. For example, two roAudioPlayers cannot simultaneously play to the SPDIF output - the se

Seite 10

video.SetAudioStream(0) video.SetAudioOutput(3) video.SetAudioStreamAux(1) video.SetAudioOutputAux(0) video.PlayFile("TwoStreams.m

Seite 11

roVideoEvent() and roAudioEvent() Video and Audio events can have one of these integer values. They are declared as separate classes as they are like

Seite 12

2 4455556778810111213151920202121222223232426283132333334353638404243444546485053Table of Contents INTRODUCTION ...

Seite 13

roGpioControlPort This object is used to control and wait for events on the BrightSign generic DB25 control port and front panel. Typically LEDs or

Seite 14

roQuadravoxSNS5 This object is used to control and wait for events on the Quadravox SNS5 serial button/LED box. Interfaces:  ifSetMessagePort rotVO

Seite 15

roKeyboard This object is used to wait for events from a USB keyboard. Interfaces:  ifSetMessagePort rotVOID SetPort(rotOBJECT) roKeyboardPress A

Seite 16

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 port

Seite 17

roImagePlayer Display static bitmap images on the video display. Interfaces:  ifImageControl rotBOOL DisplayFile(rotSTRING image_filename) rotBOO

Seite 18

 10 to 11 - Venetian blinds vertical and horizontal  12 to 13 - Comb effect vertical and horizontal  14 - Fade out to background color then back

Seite 19

roInt, roFloat, roString The intrinsic types rotINT32, rotFLOAT, and rotSTRING have an object and interface equivalent. These are useful in the foll

Seite 20

BrightScript> l=ListDir("/") BrightScript> for i=1 to l.Count():print l.RemoveHead():next test_movie_3.vob test_movie_4.vob test_movie

Seite 21

roTouchScreen The touch screen object allows you accept events from touch screen panels or Mice. Currently only the Elo USB touch screens or a USB M

Seite 22 - " ' "

3. ifEvent (mouse events). ifEvent has the following member function: a. rotINT32 GetEvent() EnableRollover: Use this function to enable a rollove

Seite 23

roNetworkConfiguration (HD2000 only)... 54555658roStorageInfo

Seite 24

t.SetPort(p) REM Puts up a cursor if a mouse is attached REM The cursor must be a 16 x 16 BMP REM The x,y position is the “hot spot” point t.SetCursor

Seite 25

roSerialPort This object controls the RS232 serial port, allowing you to receive input and send responses. roSerialPort has these interfaces: 1. if

Seite 26

roDeviceInfo The roDeviceInfo object implements the ifDeviceInfo interface only. The ifDeviceInfo interface provides:  rotSTRING GetModel(rotVOID)

Seite 27

roRegistry (HD2000 only) The registry is an area of memory where a small number of persistent settings can be stored. Access to the registry is availa

Seite 28

roSystemTime (HD2000 only) roSystemTime provides the ability to read and write the time stored in the RTC This object supports getting and setting the

Seite 29

SST: X-ray Time Zone (Pago Pago) GMT: Greenwich Mean Time GMT-1: 1 hour ahead of Greenwich Mean Time GMT-2: 2 hours ahead of Greenwich Mean Time GMT-3

Seite 30

 rotVOID SubtractSeconds(rotINT32 seconds)  rotVOID AddMilliseconds(rotINT32 milliseconds)  rotVOID SubtractMilliseconds(rotINT32 milliseconds)

Seite 31

timer.Start() else print "unexpected event received" endif endwhile Example: This code creates a timer that triggers every mi

Seite 32

roReadFile, roCreateFile, roReadWriteFile, roAppendFile (HD2000only) These objects provide file I/O functionality on the HD2000 using the ifStreamRea

Seite 33

 rotVOID SendBlock(rotSTRING string) o Writes the specified characters to the stream. Any null bytes will terminate the block. The ifStreamSeek int

Seite 34

Introduction Roku Objects (RO) are the standardized way Roku software exposes functionality for our products’ public SDKs. In other words, to publi

Seite 35

roTextField (HD2000 only) A text field represents an area of the screen that can contain arbitrary text. This feature is intended for presenting diagn

Seite 36

o rotVOID SetSendEol(rotSTRING string) o Set the sequence sent at the end of a SendLine request. This should be left at the default value of chr(13)

Seite 37

roAssociativeArray (HD2000 only) An associative array (also knows as a map, dictionary or hash table) allows objects to be associated with string keys

Seite 38 - (HD2000only)

roRectangle (HD2000 only) This object is created with several parameters:  CreateObject("roRectangle", rotINT32 x, rotINT32 y, rotINT32 wi

Seite 39

roTextWidget (HD2000 only) An object used for putting text on the screen. Object creation:  CreateObject("roTextWidget", roRectangle r, r

Seite 40

roResourceManager (HD2000 only) The roResourceManager is used for managing strings in multiple languages. Object creation:  CreateObject("roRe

Seite 41

roClockWidget (HD2000 only) roClockWidget puts a clock on the screen. It has no extra interface, only construction arguments. roClockWidget implement

Seite 42

// %y Two digit year // %Y Four digit year // Time format // // %H The hour using 24-hour clock (00 to 23) // %I The hour using 12-hour clock (01 t

Seite 43

roUrlTransfer (HD2000 only) This object is used for reading from and writing to remote servers through URLs. This object is created with no parameter

Seite 44

 rotBOOL AsyncPostFromString(rotSTRING request) o Use the HTTP POST method to post the supplied string to the current URL. Events of type roUrlEven

Seite 45

interface would contain only the new methods. The “old” method still exists in the original Interface. Older applications will only use the original

Seite 46

roUrlEvent (HD2000 only)  rotINT32 GetInt(rotVOID) o Returns the type of event. The following event types are currently defined:  1 – transfer c

Seite 47

-31 _REST CURLE_FTP_COULDNT_USE the REST command failed -33 CURLE_RANGE_ERROR RANGE "command" didn't work -34 CURLE_HTTP_POST_ERROR

Seite 48

-75 CURLE_CONV_FAILED conversion failed -76 caller must register conversion callbacks using curl_easy_setopt options CURLOPT_CONCURLE_CONV_REQD V_F

Seite 49

roRssParser, roRssArticle (HD2000 only) roRssParser and roRssArticle class are used to display an RSS ticker on the screen. roRssParser is created w

Seite 50

roNetworkConfiguration (HD2000 only) Object creation:  CreateObject("roNetworkConfiguration", 0) The ifNetworkConfiguration interface pr

Seite 51

roStorageInfo (HD2000 only) Objects of this type are used to report storage device usage information. Object creation:  CreateObject("roStorag

Seite 52

roBrightPackage (HD2000 only) An roBrightPackage represents a zip file. The zip file can include arbitrary content or can be installed on a storage de

Seite 53

t.PushString("Update complete - remove USB drive to restart.") wait: sleep(1000) usb_key = CreateObject("roReadFile", "US

Seite 54

roDatagramSender, roDatagramReceiver (HD2000 only) The roDatagramSender and roDatagramReceiver classes allow for simple sending and receiving of unica

Seite 56

Zones (HD2000 only) With the BrightSign Zones feature, you can divide the screen into rectangles and play different content in each rectangle. A zon

Seite 57

i3.DisplayFile("museum_ad2.jpg") endif r=CreateObject("roRectangle", 1520, 50, 300, 100) res=CreateObject("roResourceMan

Seite 58

By convention, Roku Object (RO) events work as follows.  A RO of type “roMessagePort” is created. In BrightScript, by the user’s script.  ROs

Seite 59

rotOBJECT RemoveTail(rotVOID) rotOBJECT RemoveHead(rotVOID) rotOBJECT GetTail(rotVOID) rotOBJECT GetHead(rotVOID) 9

Kommentare zu diesen Handbüchern

Keine Kommentare