Brightsign Object Reference Manual (FW 5.1) Uživatelský manuál Strana 285

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 341
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 284
277
roIRDownEvent, roIRRepeatEvent, roIRUpEvent
An IR event object is generated when an IR button input (button press, button repeat, button release) is received by the
roIRReceiver object. Use these objects to retrieve the message body of the IR input.
Note: The roIRUpEvent object is generated with the Iguanaworks IR transceiver only.
These event objects provide the following:
GetCode() As Integer: Returns the IR code received by the roIRReceiver instance.
SetCode(a As Integer): Overrides the IR code received by the roIRReceiver instance, replacing it with the
specified binary code.
Interfaces: ifUserData, ifReceivedEvent
The ifUserData interface provides the following:
SetUserData(user_data As Object): Sets the user data that will be returned when events are raised.
GetUserData() As Object: Returns the user data that has previously been set via SetUserData(). It will
return Invalid if no data has been set.
The ifReceivedEvent interface provides the following:
GetEncoding() As String: Returns the encodings setting of the roIRReceiver instance. This setting can be
one of the following strings:
o "NEC"
o "RC5" (supported on the Iguanaworks IR transceiver only)
Zobrazit stránku 284
1 2 ... 280 281 282 283 284 285 286 287 288 289 290 ... 340 341

Komentáře k této Příručce

Žádné komentáře