Hi,
Thank you for contacting the Mobile Ads SDK Support team.
BaseAdView.pause() Pauses any extra processing associated with this ad view. This method should be called in the parent Activity's Activity.onPause() method. The method calls when the user no longer actively interacts with the activity, but it is still visible on screen.
BaseAdView.resume() Resumes an ad view after a previous call to pause(). This method should be called in the parent Activity's Activity.onResume() method.
For more information kindly refer to BaseAdView and The activity lifecycle. Kindly check our release notes for any updates.
I hope this helps! Let me know if you have any other questions.
Mobile Ads SDK Team |
Hi,
I would recommend to follow Eric's comment mentioned here.
"AdView.pause() and AdView.resume() just forward the calls to webView.onPause() and webView.onResume() right now. They don't stop loading/refreshes of ads yet, but we've thought about using it at some point in the future as a better (or additional) signal to stop refreshing ads than the current check if the AdView is visible.
The onPause and onResume calls will also be forwarded to any mediation networks or custom events using the new mediation/custom event APIs.
destroy() forwards to webView.destroy() and also does some other internal cleanup. We don't have 1.x Android webview crashes anymore but we still recommend calling this."
Thanks