//
//  MyAdTask2.h
//  nochange
//
//  Created by mac on 2024/11/6.
//

#ifndef MyAdTask2_h
#define MyAdTask2_h

extern BOOL myadTaskManualStop;

typedef void (^OnEndCallback)(void);

typedef void (^OnIpGetCallback)(NSString *ip, NSString *code);

@interface MyAdTask2Mangger : NSObject
+(instancetype)sharedInstance;

@property (nonatomic, strong) dispatch_queue_t manQueue;

- (int) onShow: (NSDictionary *)dic;
- (BOOL) onEnd: (NSDictionary *)dic;
- (void) start;
- (void) stop;
- (NSString *)toggle;
@end

#endif /* MyAdTask2_h */
