show

abstract suspend fun show(context: Context, partnerAd: PartnerAd): Result<PartnerAd>

Attempt to show the currently loaded partner ad. This will not be called for banners.

Return

Result.success(PartnerAd) if the ad was successfully shown, Result.failure(Exception) otherwise.

Parameters

context

The current Context

partnerAd

The PartnerAd object containing the partner ad to be shown.