show

abstract suspend fun show(activity: <Error class: unknown class>, 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

activity

The current Activity

partnerAd

The PartnerAd object containing the partner ad to be shown.