TOPONAdManager.h 742 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // TOPONAdManager.h
  3. // XenonSDK
  4. //
  5. // Created by fq on 2021/5/11.
  6. // Copyright © 2021 SAGESSE. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface TOPONAdManager : NSObject
  11. + (instancetype)sharedInstance;
  12. -(void)opensplashAd:(NSString *)adName callback:(void (^)(BOOL))callback;
  13. -(void)openInterstitialAd:(NSString *)adName callback:(void (^)(BOOL))callback;
  14. -(void)openRewardedVideoAd:(NSString *)adName callback:(void (^)(BOOL,BOOL))callback;
  15. -(void)openExpressBannerAd:(NSString *)adName callback:(void (^)(BOOL))callback;
  16. -(void)openNativeAdWithX:(int)x Y:(int)y width:(int)w height:(int)h adId:(NSString *)adName callback:(void (^)(BOOL))callback;
  17. @end
  18. NS_ASSUME_NONNULL_END