// // MARewardedAdDelegate.h // AppLovinSDK // // Created by Thomas So on 8/10/18. // Copyright © 2020 AppLovin Corporation. All rights reserved. // #import @class MAAd; @class MAReward; NS_ASSUME_NONNULL_BEGIN /** * This delegate is notified when a user watches a rewarded video and of whether a reward was granted or rejected. * * @see MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads */ @protocol MARewardedAdDelegate /** * The SDK invokes this method when a user should be granted a reward. * * @param ad Ad for which the reward ad was rewarded. * @param reward The reward to be granted to the user. */ - (void)didRewardUserForAd:(MAAd *)ad withReward:(MAReward *)reward; @optional - (void)didStartRewardedVideoForAd:(MAAd *)ad __deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didDisplayAd:] instead"); - (void)didCompleteRewardedVideoForAd:(MAAd *)ad __deprecated_msg("This API is deprecated because not all adapters support this callback. Please use -[MAAdDelegate didHideAd:] instead"); @end NS_ASSUME_NONNULL_END