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: 
dalank
Visitor

46 views and no answer ??!!!

Hello ! This is my first Topic i wish i can get fast answer .. in my videoplayer example i added movies in categories i wish to know how can i add a password to access a private category it may contain adult stuff ! no billing system required only password protect category or movie.

thank you
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: 46 views and no answer ??!!!

There are many ways to do it. One way would be to trigger an roKeyboardEntryScreen or roPinEntryDialog screen when the user clicks on the category in question, for example:

...
else if m.categories.kids[msg.getindex()].ShortDescriptionLine1="Adult Movies" then
runMyPasswordScreenFunction()
else if...


- 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.