Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joetesta
Level 11

roPinEntryDialog clear PIN after incorrectly entered

On the roPinEntryDialog if the user enters the PIN wrong, is there a simple way to clear the entry so they can try again without needing to first backspace/delete the prior attempt?
I read the ComponentReference and don't see anything, maybe I would need to close and re-open the dialog window to do it?
aspiring
0 Kudos
2 REPLIES 2\
TheEndless
Level 9

Re: roPinEntryDialog clear PIN after incorrectly entered

I don't think so. Probably easiest to just open a new screen, then close the old one from underneath it.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: roPinEntryDialog clear PIN after incorrectly entered

A loop that calls the pin screen and checks the validity of the pin might be one way to do it:


while pinverfied=false
result=doPinEntryScreen()
pinVerified=VerifyPin(result)
end while
0 Kudos