MainVideo.brs
/simple_raf_sdk2_sample/components/MainVideo.brs
init()
Main Video Node Initialization
onKeyEvent(key as roString, press as roBoolean)
Custom Event Key Handling
-
Parameters:
key -
[String] case-sensitive key string, that identifies which button was pressed.
press -
[Boolean] true if the key was pressed, and false if the key was released.
-
Returns:
-
[Boolean] message to the firmware to indicate that a particular event has been handled