Roku BrightSign Manual

Consulte online ou descarregue Manual para Barebones PC/estação de trabalho Roku BrightSign. Roku BrightSign Hardware manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 59
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Roku Object
Reference
Matches HD2000 Software Version: 2.0.94
California, USA
www.roku.com/brightsign
1
Vista de página 0
1 2 3 4 5 6 ... 58 59

Resumo do Conteúdo

Página 1 - California, USA

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

Página 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,

Página 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

Página 4 - Introduction

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 10

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

Página 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

Página 12

2 4455556778810111213151920202121222223232426283132333334353638404243444546485053Table of Contents INTRODUCTION ...

Página 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

Página 14

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

Página 15

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

Página 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

Página 17

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

Página 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

Página 19

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

Página 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

Página 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

Página 22 - " ' "

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

Página 23

roNetworkConfiguration (HD2000 only)... 54555658roStorageInfo

Página 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

Página 25

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

Página 26

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

Página 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

Página 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

Página 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

Página 30

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

Página 31

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

Página 32

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

Página 33

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

Página 34

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

Página 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

Página 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)

Página 37

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

Página 38 - (HD2000only)

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

Página 39

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

Página 40

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

Página 41

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

Página 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

Página 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

Página 44

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

Página 45

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

Página 46

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

Página 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

Página 48

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

Página 49

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

Página 50

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

Página 51

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

Página 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

Página 53

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

Página 54

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

Página 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

Página 57

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

Página 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

Página 59

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

Comentários a estes Manuais

Sem comentários