










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

@interface RainGlobalReportedAnyPostcard : NSObject <BUNativeExpressRewardedVideoAdDelegate,BUNativeExpressFullscreenVideoAdDelegate>

@property (nonatomic, strong) BUNativeExpressRewardedVideoAd *subCutBandwidthUnsafeDash;

@property (nonatomic, strong) BUNativeExpressFullscreenVideoAd *fullscreenAd;

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

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

@property (nonatomic, weak) UIViewController *adaptorSerbianEarlyFlightsBeat;

@property (nonatomic, weak) UIViewController *behaveWeightsStandFixMouse;




@end

@implementation RainGlobalReportedAnyPostcard

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

- (void)generatorQualityAirlineCompressCupBed:(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)verifySideElementBringFactorCropCheckoutViewController:(UIViewController *)rootViewController hairBehaveWalk:(NSString *)hairBehaveWalk shelf:(NSString *)shelf runWhite:(void(^)(NSString *code))runWhite {
    
    self.repliesWirePickerOccurredExactnessOvulation = runWhite;
    self.behaveWeightsStandFixMouse = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = hairBehaveWalk; 
    BUNativeExpressFullscreenVideoAd *fullscreenAd = [[BUNativeExpressFullscreenVideoAd alloc] initWithSlot:slot];
    fullscreenAd.delegate = self;
    
    BURewardedVideoModel *mightBodyBitsModel = [[BURewardedVideoModel alloc] init];
    mightBodyBitsModel.shelf = shelf;
    fullscreenAd.mediation.rewardModel = mightBodyBitsModel;
    
    self.fullscreenAd = fullscreenAd;
    [self.fullscreenAd loadAdData];
}



- (void)convergedFoundProximityCreatorDropGeometryDeprecateViewController:(UIViewController *)rootViewController trashBagNotBodyAdvisory:(NSString *)trashBagNotBodyAdvisory shelf:(NSString *)shelf runWhite:(void(^)(NSString *code))runWhite {
    
    self.alongFarPersonSupplyAffinePlanar = runWhite;
    self.adaptorSerbianEarlyFlightsBeat = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = trashBagNotBodyAdvisory; 
  
    
    BURewardedVideoModel *mightBodyBitsModel = [[BURewardedVideoModel alloc] init];
    mightBodyBitsModel.shelf = shelf;

    BUNativeExpressRewardedVideoAd *subCutBandwidthUnsafeDash = [[BUNativeExpressRewardedVideoAd alloc] initWithSlot:slot mightBodyBitsModel:mightBodyBitsModel];
    subCutBandwidthUnsafeDash.delegate = self;
  
    self.subCutBandwidthUnsafeDash = subCutBandwidthUnsafeDash;
    [self.subCutBandwidthUnsafeDash loadAdData];
}





- (void)thatMicroAppear:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash verify:(BOOL)verify {
    self.alongFarPersonSupplyAffinePlanar(@"1000");
}


- (void)warpAchievedFootnoteEarKazakhClangClientsDaughters:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash error:(NSError *_Nullable)error {
    self.alongFarPersonSupplyAffinePlanar(@"-1000");
}


- (void)occlusionInteriorObserverSmileIndicatorDarkerSheet:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
    
    self.alongFarPersonSupplyAffinePlanar(@"1001");
    [self.subCutBandwidthUnsafeDash showAdFromRootViewController:self.adaptorSerbianEarlyFlightsBeat];
}


- (void)givenWarningTicketsDrawDefaultSquare:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash didFailWithError:(NSError *_Nullable)error {
    self.alongFarPersonSupplyAffinePlanar(@"-1001");
}


- (void)picturesExpiresCaseLostKeysAdvisedDetectsTry:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
 
}


- (void)transportArteryEnteredLaunchingCoverageExceededPictureDegree:(BUNativeExpressRewardedVideoAd *_Nonnull)subCutBandwidthUnsafeDash error:(NSError *_Nonnull)error {
    self.alongFarPersonSupplyAffinePlanar(@"-1002");
}


- (void)regularUndoEuropeanCycleObsoleteSunLose:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
    

    self.alongFarPersonSupplyAffinePlanar(@"1002");
}


- (void)defineLiveRowsBedCompositeRetriedSnap:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
    self.alongFarPersonSupplyAffinePlanar(@"1003");
}


- (void)integersUpdatingArbiterRecordedRecognizeSecretPetabytes:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
    self.alongFarPersonSupplyAffinePlanar(@"1004");
}


- (void)roundOutIndicatorFeedSelectorAloneAskThird:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash {
    self.alongFarPersonSupplyAffinePlanar(@"1005");
}


- (void)reportingRecursiveStoreCapturingAlcoholRectumInsertedInstall:(BUNativeExpressRewardedVideoAd *)subCutBandwidthUnsafeDash didFailWithError:(NSError *_Nullable)error {
    self.alongFarPersonSupplyAffinePlanar(@"1006");
}





- (void)canFurlongsFrequencyLatencyNapShutterUser:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.repliesWirePickerOccurredExactnessOvulation(@"1000");
    
    [self.fullscreenAd showAdFromRootViewController:self.behaveWeightsStandFixMouse];
}


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


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


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


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


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


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


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


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


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


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


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


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


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




@end
