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

RAF and back button

Can anyone tell me what msg event we should be looking for when the user presses the back button to exit an RAF ad?
0 Kudos
1 REPLY 1
EnTerr
Roku Guru

Re: RAF and back button

RAF.showAds() returns a boolean: True means ad played to the end, False implies ad was exited with Back.

There is a way to disable exiting ads, although i advocate not to do so but do something else - either absorb the skip, play another ad or ask a ransom :twisted:
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.