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

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ATPlatformNativeManager : NSObject

/// Load native ad (async; via ATNativeDelegate callbacks)
- (void)loadNativeWith:(NSString *)placementID extraDic:(NSDictionary *)extraDic;

/// Synchronously try to take out the loaded SDK Native ATNativeADView and add it to hostView.
/// Current implementation: Direct rendering in template (Express) mode; return NO after logging in self-rendering mode (waiting for selfRender to be connected to RN element binding).
- (BOOL)attachNativeToHostView:(UIView *)hostView
                   placementID:(NSString *)placementID
                       sceneID:(nullable NSString *)sceneID;



@end

NS_ASSUME_NONNULL_END
