










#import <Foundation/Foundation.h>
#import <BUAdSDK/BUAdSDK.h>

@interface InsideSawScatteredUnwrapPressure : NSObject <BUNativeExpressRewardedVideoAdDelegate,BUNativeExpressFullscreenVideoAdDelegate>

@property (nonatomic, strong) BUNativeExpressRewardedVideoAd *rewardedVideoAd;

@property (nonatomic, strong) BUNativeExpressFullscreenVideoAd *fullscreenAd;

@property (nonatomic, copy) void (^auditedAssignWorkUnwindOlympusBinary)(NSString *code);

@property (nonatomic, copy) void (^walkingNapOverdueShakeParserBrand)(NSString *code);

@property (nonatomic, weak) UIViewController *guaraniSolutionsIdenticalDependentRename;

@property (nonatomic, weak) UIViewController *passwordNegateDropTremorMarathi;




@end

@implementation InsideSawScatteredUnwrapPressure

+ (instancetype)shared {
    static id shared = nil;
    static dispatch_once_t blueToken;
    dispatch_once(&blueToken, ^{
        shared = [[super allocWithZone:NULL] init];
    });
    return shared;
}

- (void)middleOccurBengaliAirManganeseSpeed:(NSString *)appId {
    BUAdSDKConfiguration *configuration = [BUAdSDKConfiguration configuration];
    
    configuration.appID = appId;
    
    configuration.useMediation = YES;
    
    [BUAdSDKManager startWithAsyncCompletionHandler:^(BOOL success, NSError *error) {
        if (success) {
            dispatch_async(dispatch_get_main_queue(), ^{
                //请求广告逻辑处理
                
            });
        }
    }];
}



- (void)integrateRecorderIndexSumCornerSpouseDestroyViewController:(UIViewController *)rootViewController bitLogMouthEnd:(NSString *)bitLogMouthEnd extra:(NSString *)extra lineMean:(void(^)(NSString *code))lineMean {
    
    self.walkingNapOverdueShakeParserBrand = lineMean;
    self.passwordNegateDropTremorMarathi = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = bitLogMouthEnd; 
    BUNativeExpressFullscreenVideoAd *fullscreenAd = [[BUNativeExpressFullscreenVideoAd alloc] initWithSlot:slot];
    fullscreenAd.delegate = self;
    
    BURewardedVideoModel *rewardedVideoModel = [[BURewardedVideoModel alloc] init];
    rewardedVideoModel.extra = extra;
    fullscreenAd.mediation.rewardModel = rewardedVideoModel;
    
    self.fullscreenAd = fullscreenAd;
    [self.fullscreenAd loadAdData];
}



- (void)signatureCentralPacketNicknameAverageAdjustingSeekViewController:(UIViewController *)rootViewController intensityShelfUnitSupplyRoom:(NSString *)intensityShelfUnitSupplyRoom extra:(NSString *)extra lineMean:(void(^)(NSString *code))lineMean {
    
    self.auditedAssignWorkUnwindOlympusBinary = lineMean;
    self.guaraniSolutionsIdenticalDependentRename = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = intensityShelfUnitSupplyRoom; 
  
    
    BURewardedVideoModel *rewardedVideoModel = [[BURewardedVideoModel alloc] init];
    rewardedVideoModel.extra = extra;

    BUNativeExpressRewardedVideoAd *rewardedVideoAd = [[BUNativeExpressRewardedVideoAd alloc] initWithSlot:slot rewardedVideoModel:rewardedVideoModel];
    rewardedVideoAd.delegate = self;
  
    self.rewardedVideoAd = rewardedVideoAd;
    [self.rewardedVideoAd loadAdData];
}





- (void)nativeExpressRewardedVideoAdServerRewardDidSucceed:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd verify:(BOOL)verify {
    self.auditedAssignWorkUnwindOlympusBinary(@"1000");
}


- (void)nativeExpressRewardedVideoAdServerRewardDidFail:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd error:(NSError *_Nullable)error {
    self.auditedAssignWorkUnwindOlympusBinary(@"-1000");
}


- (void)nativeExpressRewardedVideoAdDidLoad:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    
    self.auditedAssignWorkUnwindOlympusBinary(@"1001");
    [self.rewardedVideoAd showAdFromRootViewController:self.guaraniSolutionsIdenticalDependentRename];
}


- (void)nativeExpressRewardedVideoAd:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd didFailWithError:(NSError *_Nullable)error {
    self.auditedAssignWorkUnwindOlympusBinary(@"-1001");
}


- (void)nativeExpressRewardedVideoAdDidDownLoadVideo:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
 
}


- (void)nativeExpressRewardedVideoAdDidShowFailed:(BUNativeExpressRewardedVideoAd *_Nonnull)rewardedVideoAd error:(NSError *_Nonnull)error {
    self.auditedAssignWorkUnwindOlympusBinary(@"-1002");
}


- (void)nativeExpressRewardedVideoAdDidVisible:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    

    self.auditedAssignWorkUnwindOlympusBinary(@"1002");
}


- (void)nativeExpressRewardedVideoAdDidClick:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    self.auditedAssignWorkUnwindOlympusBinary(@"1003");
}


- (void)nativeExpressRewardedVideoAdDidClose:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    self.auditedAssignWorkUnwindOlympusBinary(@"1004");
}


- (void)nativeExpressRewardedVideoAdDidClickSkip:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    self.auditedAssignWorkUnwindOlympusBinary(@"1005");
}


- (void)nativeExpressRewardedVideoAdDidPlayFinish:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd didFailWithError:(NSError *_Nullable)error {
    self.auditedAssignWorkUnwindOlympusBinary(@"1006");
}





- (void)nativeExpressFullscreenVideoAdDidLoad:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1000");
    
    [self.fullscreenAd showAdFromRootViewController:self.passwordNegateDropTremorMarathi];
}


- (void)nativeExpressFullscreenVideoAd:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *_Nullable)error {
    self.walkingNapOverdueShakeParserBrand(@"-1000");
}


- (void)nativeExpressFullscreenVideoAdDidDownLoadVideo:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    
    self.walkingNapOverdueShakeParserBrand(@"1001");
}


- (void)nativeExpressFullscreenVideoAdWillVisible:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1002");
}


- (void)nativeExpressFullscreenVideoAdDidVisible:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1003");
}


- (void)nativeExpressFullscreenVideoAdDidShowFailed:(BUNativeExpressFullscreenVideoAd *_Nonnull)fullscreenVideoAd error:(NSError *_Nonnull)error {
    self.walkingNapOverdueShakeParserBrand(@"-1003");
}


- (void)nativeExpressFullscreenVideoAdDidClick:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1004");
}


- (void)nativeExpressFullscreenVideoAdDidClickSkip:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1005");
}


- (void)nativeExpressFullscreenVideoAdWillClose:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1006");
}


- (void)nativeExpressFullscreenVideoAdDidClose:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1007");
}


- (void)nativeExpressFullscreenVideoAdDidPlayFinish:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *_Nullable)error {
    self.walkingNapOverdueShakeParserBrand(@"1008");
}


- (void)nativeExpressFullscreenVideoAdWillPresentFullScreenModal:(BUNativeExpressFullscreenVideoAd *_Nonnull)fullscreenVideoAd {
    self.walkingNapOverdueShakeParserBrand(@"1009");
}


- (void)nativeExpressFullscreenVideoAdServerRewardDidSucceed:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd verify:(BOOL)verify {
    self.walkingNapOverdueShakeParserBrand(@"1010");
}


- (void)nativeExpressFullscreenVideoAdServerRewardDidFail:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd error:(NSError *)error {
    self.walkingNapOverdueShakeParserBrand(@"-1010");
}




@end
