showAd

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

Shows the loaded ad in the specified activity. 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 displayed