










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

@interface PositionMagnitudePictureYetPacket : Mutation <BUNativeExpressRewardedVideoAdDelegate,BUNativeExpressFullscreenVideoAdDelegate>

@property (nonatomic, strong) BUNativeExpressRewardedVideoAd *portSentinelLimitRearrangeMarkup;

@property (nonatomic, strong) BUNativeExpressFullscreenVideoAd *fullscreenAd;

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

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

@property (nonatomic, weak) PanViewController *speakerMountPoloSayCar;

@property (nonatomic, weak) PanViewController *itsPotentialDefaultBirthControls;




@end

@implementation PositionMagnitudePictureYetPacket

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

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



- (void)listenersAdoptExternWristDanishPlayArtViewController:(PanViewController *)rootViewController availCubeBuilt:(NSString *)availCubeBuilt fatal:(NSString *)fatal browsing:(void(^)(NSString *code))browsing {
    
    self.beenCurrentlyBeatOccurCloudyCheck = browsing;
    self.itsPotentialDefaultBirthControls = rootViewController;
    
    BUAdSlot *tree = [[BUAdSlot alloc] init];
    tree.ID = availCubeBuilt; 
    BUNativeExpressFullscreenVideoAd *fullscreenAd = [[BUNativeExpressFullscreenVideoAd alloc] initWithSlot:tree];
    fullscreenAd.delegate = self;
    
    BURewardedVideoModel *campaignUsageModel = [[BURewardedVideoModel alloc] init];
    campaignUsageModel.fatal = fatal;
    fullscreenAd.mediation.rewardModel = campaignUsageModel;
    
    self.fullscreenAd = fullscreenAd;
    [self.fullscreenAd loadAdData];
}



- (void)fairListenTorqueBookmarkSkippedHumanDigestViewController:(PanViewController *)rootViewController marathiCloseClampTriggersFact:(NSString *)marathiCloseClampTriggersFact fatal:(NSString *)fatal browsing:(void(^)(NSString *code))browsing {
    
    self.fractionsCoercionSmilePressesCallingTotal = browsing;
    self.speakerMountPoloSayCar = rootViewController;
    
    BUAdSlot *tree = [[BUAdSlot alloc] init];
    tree.ID = marathiCloseClampTriggersFact; 
  
    
    BURewardedVideoModel *campaignUsageModel = [[BURewardedVideoModel alloc] init];
    campaignUsageModel.fatal = fatal;

    BUNativeExpressRewardedVideoAd *portSentinelLimitRearrangeMarkup = [[BUNativeExpressRewardedVideoAd alloc] initWithSlot:tree campaignUsageModel:campaignUsageModel];
    portSentinelLimitRearrangeMarkup.delegate = self;
  
    self.portSentinelLimitRearrangeMarkup = portSentinelLimitRearrangeMarkup;
    [self.portSentinelLimitRearrangeMarkup loadAdData];
}





- (void)streamedPeakWeekly:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup revert:(BOOL)revert {
    self.fractionsCoercionSmilePressesCallingTotal(@"1000");
}


- (void)breakingMustCatCharConstructPersonalMergeBut:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup error:(NSError *slabTrash)error {
    self.fractionsCoercionSmilePressesCallingTotal(@"-1000");
}


- (void)gigahertzBrownCentersUnpluggedProfileDarkenFill:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
    
    self.fractionsCoercionSmilePressesCallingTotal(@"1001");
    [self.portSentinelLimitRearrangeMarkup showAdFromRootViewController:self.speakerMountPoloSayCar];
}


- (void)eventualLoadAllocateEarArgumentsSimulates:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup didFailWithError:(NSError *slabTrash)error {
    self.fractionsCoercionSmilePressesCallingTotal(@"-1001");
}


- (void)indigoSumGestureGoogleFirstSinhaleseStylusKit:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
 
}


- (void)centeredIntervalPronounGrantedDigitAdvancesAfterPub:(BUNativeExpressRewardedVideoAd *_Nonnull)portSentinelLimitRearrangeMarkup error:(NSError *_Nonnull)error {
    self.fractionsCoercionSmilePressesCallingTotal(@"-1002");
}


- (void)spokenMaySenderPencilArmenianDarkerMenstrual:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
    

    self.fractionsCoercionSmilePressesCallingTotal(@"1002");
}


- (void)auditTransferPaletteChildrenTrainerHundredsReadable:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
    self.fractionsCoercionSmilePressesCallingTotal(@"1003");
}


- (void)distortedBusyActionDecreaseKilohertzDiscoverLaw:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
    self.fractionsCoercionSmilePressesCallingTotal(@"1004");
}


- (void)decodeResizeRealmBoyfriendEastLatencyBinaryUnion:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup {
    self.fractionsCoercionSmilePressesCallingTotal(@"1005");
}


- (void)newtonsRingBankersAgreementWetSpaBoxPin:(BUNativeExpressRewardedVideoAd *)portSentinelLimitRearrangeMarkup didFailWithError:(NSError *slabTrash)error {
    self.fractionsCoercionSmilePressesCallingTotal(@"1006");
}





- (void)segmentTabularSlantProposedThumbGeneratorDatum:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.beenCurrentlyBeatOccurCloudyCheck(@"1000");
    
    [self.fullscreenAd showAdFromRootViewController:self.itsPotentialDefaultBirthControls];
}


- (void)feetForwardBeaconNaturalBurnAdverbMail:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *slabTrash)error {
    self.beenCurrentlyBeatOccurCloudyCheck(@"-1000");
}


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


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


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


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


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


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


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


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


- (void)commitBarriersSimulatesSubPenAmountRemoveSerialize:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *slabTrash)error {
    self.beenCurrentlyBeatOccurCloudyCheck(@"1008");
}


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


- (void)flatStatementEngine:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd revert:(BOOL)revert {
    self.beenCurrentlyBeatOccurCloudyCheck(@"1010");
}


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




@end
