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

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ATPlatformBannerManager : NSObject

/// Load banner ad (async; via ATBannerDelegate callbacks)
- (void)loadBannerWith:(NSString *)placementID extraDic:(NSDictionary *)extraDic;

/// Synchronously try to take out the loaded SDK Banner UIView and add it to hostView.
/// Return NO if loading is not completed (the caller should poll and try again); return YES on success and the SDK view has addedSubview to hostView.
- (BOOL)attachBannerToHostView:(UIView *)hostView
                   placementID:(NSString *)placementID
                       sceneID:(nullable NSString *)sceneID;



@end

NS_ASSUME_NONNULL_END
