showAd

open fun showAd(@NonNull activity: Activity): Boolean

Shows the loaded interstitial ad. Do not call this method twice after loading as it will result in an error state.

Return

true if the ad was shown successfully, false otherwise

Parameters

activity

Activity where the ad will be shown