| 1234567891011121314151617181920212223242526272829303132333435363738394041 | ////  MARewardedAdDelegate.h//  AppLovinSDK////  Created by Thomas So on 8/10/18.//  Copyright © 2020 AppLovin Corporation. All rights reserved.//#import <AppLovinSDK/MAAdDelegate.h>@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 <a href="https://dash.applovin.com/documentation/mediation/ios/getting-started/rewarded-ads">MAX Integration Guide ⇒ iOS ⇒ Rewarded Ads</a> */@protocol MARewardedAdDelegate <MAAdDelegate>/** * 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");@endNS_ASSUME_NONNULL_END
 |