Developers

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?
Tags (1)
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:
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!