//
//  HWMUISDKCallService.h
//  HWMSDKSDK
//
//  Automatically generated file. DO NOT MODIFY!!!
//

#import <Foundation/Foundation.h>
#import "HWMUISDKCommonDefine.h"
#import "HWMUISDKAllModelIndex.h"

#import "HWMUISDKPrivateMeetingService.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^HWMSDKStartCallHandler) (NSError * _Nullable error);


@protocol HWMUISDKCallNotify <NSObject>

@optional
/// [en] Notify of call state. [cn] 通话状态通知
- (void)onCallStateChanged:(HWMUISDKCallStateInfoModel *)callStateInfo;
/// [en] Notify of the call record when the call ended [cn] 通话结束通知
- (void)onCallEndedNotify:(HWMUISDKCallRecordInfoModel *)callRecordInfo;

@end

@interface HWMUISDKCallService : NSObject

+ (instancetype)shareInstance;
+ (void)releaseInstance;
- (void)addCallNotifyCallback:(id<HWMUISDKCallNotify>)callback;
- (void)removeCallNotifyCallback:(id<HWMUISDKCallNotify>)callback;
/// [en] This interface is used to start call. [cn] 发起呼叫
- (void)startCallWithInfo:(HWMUISDKStartCallInfoModel *)info callback:(HWMSDKStartCallHandler)callback;

@end



NS_ASSUME_NONNULL_END

