//
//  UMengSDKAdapter.h
//  suixinkan
//
//  Created by Codex on 2026/7/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/// 友盟 ObjC SDK 适配器，隔离 Swift 侧对 ObjC API 命名映射的依赖。
@interface UMengSDKAdapter : NSObject

/// 按传入的最小化采集开关配置 U-APM，并初始化友盟组件化 SDK。
+ (void)configureWithAppKey:(NSString *)appKey
                    channel:(nullable NSString *)channel
crashAndBlockMonitorEnable:(BOOL)crashAndBlockMonitorEnable
        launchMonitorEnable:(BOOL)launchMonitorEnable
           memMonitorEnable:(BOOL)memMonitorEnable
           oomMonitorEnable:(BOOL)oomMonitorEnable
              networkEnable:(BOOL)networkEnable
           logCollectEnable:(BOOL)logCollectEnable
NS_SWIFT_NAME(configure(appKey:channel:crashAndBlockMonitorEnable:launchMonitorEnable:memMonitorEnable:oomMonitorEnable:networkEnable:logCollectEnable:));

@end

NS_ASSUME_NONNULL_END
