The roInput component sends the roInputEvent with the following predicates that indicate its valid event types:  

isInput() as Boolean

An input event was received.

GetInfo() as Object

Returns an roAssociativeArray describing the input event:

Key

Type

Value

typestring

The type of event, which may be one of the following values:

  • transport. Determines the transport event sent to a channel. The command field include a string with the the type of transport event. See Implementing transport controls for more information.
idLongIntegerThe unique ID associated with the generated transport event
commandstring

If the type is "transport", the associativeArray will include a commands field that specifies the type of transport command received. This may be one of the following values:

    • "forward"
    • "next"
    • "pause"
    • "play"
    • "replay"
    • "resume"
    • "rewind"
    • "seek"
    • "stop"
    • "startover"
directionstringFor the "seek" transport command only. Specifies the direction of the seek command, which may be "forward" or "backward".
durationstringFor the "seek" transport command only. Specifies the number of seconds to skip forward or backward.