//
//  AWM_WallPapaerADManager.h
//  HD wallpaper
//
//  Created by aaa on 2024/7/3.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
typedef void(^WallPapaerADManagerCallback)(NSInteger actionType);//actionType,1表示关闭广告
@interface AWM_WallPapaerADManager : NSObject
+ (instancetype)shareInstance;

- (void)configureAD;

- (void)initOpenAD;

- (void)showFirstOpenAD:(WallPapaerADManagerCallback)callback window:(UIWindow *)window;
- (void)showOpenAD;

- (void)initIntersitialAD;
- (void)showIntersitialAD_Search:(WallPapaerADManagerCallback)callback;
- (void)showIntersitialAD_Save:(WallPapaerADManagerCallback)callback ;
- (void)showIntersitialAD_Back:(WallPapaerADManagerCallback)callback ;

@property (nonatomic,copy)  WallPapaerADManagerCallback callback;
@end

NS_ASSUME_NONNULL_END
