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: 
joetesta
Roku Guru

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
Channel Surfer

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
Binge Watcher

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