Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
schtanislau
Visitor

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 2
dunerunner
Visitor

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 😄
0 Kudos
RokuJoel
Binge Watcher

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.