Is there a way to tell the RAF programmatically to stop the video?
The problem is that the user can back out of the video player before the ad info has had time to load. By the time the back button is communicated to the main thread, the ad info has loaded and the ads start playing. In this use case, I would like to manually stop the raf from playing any videos.
Specifically, the call to raf.getAds() causes a delay, but registering a back button in the screens can register after getAds() is called but before the ad info is gathered. I tried to communicate to the main thread that the back button has been pressed so I can stop the ads from ever being loaded once the getAds() method returns with the proper info, but the main thread gets word of the back button thru the port AFTER the ad loads.
Is there a method to manually stop the RAF from loading or playing videos?