//
//  HWMSDKLocalRecordAdapter.h
//  HWMNativeSDK
//
//  Created by y00450113 on 2021/8/23.
//

#import <Foundation/Foundation.h>
#import "HWMLocalRecordEventDelegate.h"
#import "HWMLocalRecordConst.h"
#import "HWMSDKCommonDefine.h"
NS_ASSUME_NONNULL_BEGIN

typedef void(^HWMSDKLocalRecordStateHandler)(HWMLocalRecordOperation localRecordOperation, NSString *localRecordPath, NSInteger startTime);

@interface HWMSDKLocalRecordAdapter : NSObject
+ (void)startLocalRecordService;
+ (void)setLocalRecordStateHandler:(HWMSDKLocalRecordStateHandler)handler;
+ (void)setRecordFileDirURL:(NSURL *)fileDirUrl;
+ (void)setRecordLayoutMode:(HWMLocalRecordLayoutMode)layoutMode;
+ (void)setRecordEventDelegate:(id <HWMLocalRecordEventDelegate>)delegate;
+ (void)applicationWillTerminate;
@end

NS_ASSUME_NONNULL_END
