VisionWallPaperOffline-8-19/target/FW/AppLovinSDK.xcframework/ios-arm64/AppLovinSDK.framework/Headers/MARewardedAdDelegate.h
2024-07-23 17:20:05 +08:00

42 lines
1.2 KiB
Objective-C

//
// 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://developers.applovin.com/en/ios/ad-formats/rewarded-ads">MAX Integration Guide ⇒ iOS ⇒ Ad Foramts ⇒ 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");
@end
NS_ASSUME_NONNULL_END