Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This component is deprecated and will be removed from Roku OS on January 1st, 2019.

Beginning July 1st, 2017, any new channels using this component will be rejected during certification.

Beginning January 1st, 2018, any updates to existing channels using this component will be rejected during certification.

The roListScreen sends the roListScreenEvent with the following predicates that indicate its valid event types:

isListItemFocused() as Boolean

A new content item in the list screen has gained focus.

GetIndex() as Integer

Returns the index of currently focused list item.

 

isListItemSelected() as Boolean

A content item in the list screen has been selected.

GetIndex() as Integer

Returns the index of the selected list item.

 

isRemoteKeyPressed() as Boolean

A remote key was pressed.

GetIndex() as Integer

Returns the ID of the remote key which was pressed.  Remote key IDs are listed under roUniversalControlEvent.

 

isScreenClosed() as Boolean

The screen was closed and is no longer displayed to the user.