Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
schtanislau
Level 7

roVideoPlayer events

Hello,

Is there a possibility to capture button index when its released? I have found this table with specified indexes for different behavior, but I'm struggling to capture these indexes.

In which conditions I can capture these indexes for button released (when roVideoPlayer plays some content)?

Thank you.
0 Kudos
2 Replies
dunerunner
Level 7

Re: roVideoPlayer events

As far as I know it is only possible to get the button press index using .isRemoteKeyPressed() . Not sure about the button release, but I would like to know if it is possible too Smiley Very Happy
0 Kudos
Roku Employee
Roku Employee

Re: roVideoPlayer events

"schtanislau" wrote:
Is there a possibility to capture button index when its released? I have found this table with specified indexes


For that, use roScreen with roVideoPlayer and use roUniversalControlEvent (from the roScreen's message port) and msg.getInt()

- Joel
0 Kudos