// // FqGameAd.h // XenonSDK // // Created by fq on 2020/12/25. // Copyright © 2020 SAGESSE. All rights reserved. // #import #import "AdBanner.h" #import "ISAdInner.h" #import "ISAdRewarded.h" #import "ISAdOfferWall.h" #import "AdmobNative.h" #import "ISAdBanner.h" #import @interface FqGameAd : NSObject //A sington instance of FqGameAd +(instancetype)fqGameAD; //显示横幅广告 -(void)showBanner:(NSString *)adId; //显示插页广告 - (void)showInner:(NSString*)adId callback:(void(^)(int intValue))back; //显示视频激励广告 - (void)showVideo:(NSString*)adId callback:(void(^)(int intValue))back; //打开原生广告 -(void)showAdNative:(NSString *)adId x:(int)x y:(int)y w:(int)w h:(int)h; //广告是否准备好(根据广告位名称adName查找) -(BOOL)isAdReady:(NSString *)adName; //打开广告 -(void)openAd:(NSString *)adName; /// //关闭横幅广告 -(void)closeBanner:(NSString *)adId; //关闭原生广告 -(void)closeNative; //关闭原生广告 -(void)closeNative:(NSString *)adId; //刷新原生广告 -(void)refreshNative; @end