//
// MAAdViewAdDelegate.h
// AppLovinSDK
//
// Created by Thomas So on 8/10/18.
// Copyright © 2020 AppLovin Corporation. All rights reserved.
//
#import "MAAd.h"
#import "MAAdDelegate.h"
#import "MAAdRevenueDelegate.h"
NS_ASSUME_NONNULL_BEGIN
/**
* This delegate is notified about ad view events.
*
* @see MAX Integration Guide ⇒ iOS ⇒ Banners
* @see MAX Integration Guide ⇒ iOS ⇒ MRECs
*/
@protocol MAAdViewAdDelegate
/**
* The SDK invokes this method when the @c MAAdView has expanded to the full screen.
*
* @param ad An ad for which the ad view expanded.
*/
- (void)didExpandAd:(MAAd *)ad;
/**
* The SDK invokes this method when the @c MAAdView has collapsed back to its original size.
*
* @param ad An ad for which the ad view collapsed.
*/
- (void)didCollapseAd:(MAAd *)ad;
@end
NS_ASSUME_NONNULL_END