captureAdView

fun captureAdView(view: View, adCallId: String, cacheDir: File, adType: String): Runnable?

Captures the ad view hierarchy for the debugger Ad View tab. Intended for use by mediation modules that cannot access ViewHierarchyCapturer directly. Does nothing if the debugger is not enabled.

Return

the posted Runnable, or null if the debugger is not enabled. The caller may pass this to android.view.View.removeCallbacks to cancel the capture if the view is destroyed before the delay expires.