RewardedAdsDelegate

public protocol RewardedAdsDelegate : FullscreenAdsDelegate

Defines all rewarded-related ad events called by RewardedAds.

A convenience protocol that inherits all FullscreenAdsDelegate defined requirements, and adds additional rewarded methods.

  • Notifies when the user should be granted a reward for watching an ad.

    This callback won’t be called if the user skipped the ad.

    Declaration

    Swift

    func didEarnReward(placementId: String)

    Parameters

    placementId

    the placement id of the ad that triggered the event.