//
//  ATNativeDelegate.h
//  anythink_sdk
//
//  Created by GUO PENG on 2021/7/12.
//

#import <Foundation/Foundation.h>
#import <AnyThinkSDK/AnyThinkSDK.h>

NS_ASSUME_NONNULL_BEGIN

@interface ATNativeDelegate : NSObject<ATNativeADDelegate, ATAdMultipleLoadingDelegate>

/// Load succeeded callback (for Fabric ComponentView getOffer + rendering ATNativeADView + attach when loaded)
@property (nonatomic, copy, nullable) void (^onNativeLoaded)(NSString *placementID);
/// Load failed callback
@property (nonatomic, copy, nullable) void (^onNativeLoadFail)(NSString *placementID, NSError * _Nullable error);

@end

NS_ASSUME_NONNULL_END
