NIMSDK-iOS
载入中...
搜索中...
未找到
NIMRtcCallRecordObject.h
浏览该文件的文档.
1//
2// NIMRtcCallRecordObject.h
3// NIMLib
4//
5// Created by Wenchao Ding on 2020/11/5.
6// Copyright © 2020 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14typedef NS_ENUM(NSUInteger, NIMRtcCallType) {
17};
18
19typedef NS_ENUM(NSUInteger, NIMRtcCallStatus) {
20 NIMRtcCallStatusComplete = 1, // 通话完成
21 NIMRtcCallStatusCanceled, // 通话取消
22 NIMRtcCallStatusRejected, // 通话拒绝
23 NIMRtcCallStatusTimeout, // 超时未接听
24 NIMRtcCallStatusBusy // 对方忙线
25};
26
28
29/**
30 通话类型,音频/视频
31 */
32@property (nonatomic, assign) NIMRtcCallType callType;
33
34/**
35 频道ID
36 */
37@property (nonatomic, copy) NSString *channelID;
38
39/**
40 通话状态
41 */
42@property (nonatomic, assign) NIMRtcCallStatus callStatus;
43
44/**
45 时长Map {"accid1": 10, "accid2": 20}
46 */
47@property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> *durations;
48
49@end
50
51NS_ASSUME_NONNULL_END
NIMRtcCallType
Definition: NIMRtcCallRecordObject.h:14
@ NIMRtcCallTypeAudio
Definition: NIMRtcCallRecordObject.h:15
@ NIMRtcCallTypeVideo
Definition: NIMRtcCallRecordObject.h:16
NIMRtcCallStatus
Definition: NIMRtcCallRecordObject.h:19
@ NIMRtcCallStatusBusy
Definition: NIMRtcCallRecordObject.h:24
@ NIMRtcCallStatusRejected
Definition: NIMRtcCallRecordObject.h:22
@ NIMRtcCallStatusComplete
Definition: NIMRtcCallRecordObject.h:20
@ NIMRtcCallStatusTimeout
Definition: NIMRtcCallRecordObject.h:23
@ NIMRtcCallStatusCanceled
Definition: NIMRtcCallRecordObject.h:21
Definition: NIMRtcCallRecordObject.h:27
NIMRtcCallStatus callStatus
Definition: NIMRtcCallRecordObject.h:42
NSString * channelID
Definition: NIMRtcCallRecordObject.h:37
NSDictionary< NSString *, NSNumber * > * durations
Definition: NIMRtcCallRecordObject.h:47
NIMRtcCallType callType
Definition: NIMRtcCallRecordObject.h:32
Definition: NIMMessageObjectProtocol.h:20