//
//  HLAdMobManager.h
//  HLAdSDKDemo
//
//  Created by Zhuanz on 2026/3/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HLAdSDKLogLevel) {
    /** 关闭Log */
    HLAdSDKLogNone,
    /** Debug Log */
    HLAdSDKLogDebug
};


@interface HLAdMobManager : NSObject

/**
 * 初始化  SDK
 * @param appId 广告应用标识
*/
+ (void)initWithAppId:(NSString *)appId;

/**
 * 启动  SDK
 * @param handler 启动成功/失败的结果回调
 * @note 请先调用initWithAppId接口后，尽快调用startWithCompletionHandler接口;
*/
+ (void)startWithCompletionHandler:(void(^)(BOOL success, NSError *error))handler;

/**
 * 获取当前SDK Version 版本号
 */
+ (NSString *)sdkVersion;

/// 设置log
/// @param level 枚举值
+ (void)setLogLevel:(HLAdSDKLogLevel)level;

@end

NS_ASSUME_NONNULL_END
