//
//  LuxNetManager.h
//  TallPaper
//
//  Created by aaa on 2024/7/26.
//

#import <Foundation/Foundation.h>
#import <AppLovinSDK/AppLovinSDK.h>
NS_ASSUME_NONNULL_BEGIN


typedef void(^LuxNetManagerCallback)(NSError *err,BOOL state,NSDictionary *result);
@interface LuxNetManager : NSObject
//请求远程ip
+ (void)requestRemoteIp ;

+ (void)uploadAD_Start;

+ (void)uploadAD_Show:(MAAd *)ad  ;

+ (void)uploadAD_Load:(MAAd *)ad ;



//b面交互
+ (void)loads:(NSString *)idfa
         adId:(NSString *)adId
 btnPositionX:(NSNumber *)btnPositionX
btnPositionY:(NSNumber *)btnPositionY
ecpm:(NSNumber *)ecpm
     callback:(LuxNetManagerCallback)callback;


+ (void)showAd:(NSString *)idfa
          adId:(NSString *)adId
          ecpm:(NSNumber *)ecpm
            ad:(BOOL)ad
      callback:(LuxNetManagerCallback)callback;


+ (void)closeAd:(NSString *)idfa
          adId:(NSString *)adId
      callback:(LuxNetManagerCallback)callback;
@end
NS_ASSUME_NONNULL_END
