NIMSDK-iOS
载入中...
搜索中...
未找到
NIMNetCallNotificationContent.h
浏览该文件的文档.
1//
2// NIMNetCallNotificationContent.h
3// NIMLib
4//
5// Created by Netease
6// Copyright (c) 2015 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMGlobalDefs.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
15/**
16 * 网络电话类型
17 */
18typedef NS_ENUM(NSInteger, NIMNetCallEventType){
19 /**
20 * 对方无人接听
21 */
23 /**
24 * 未接电话
25 */
27 /**
28 * 电话回单
29 */
31 /**
32 * 对方拒接电话
33 */
35};
36
37
38/**
39 * 网络通话通知内容
40 */
42/**
43 * 网络通话类型
44 */
45@property (nonatomic,assign) NIMNetCallType callType;
46/**
47 * 操作类型
48 */
49@property (nonatomic,assign) NIMNetCallEventType eventType;
50/**
51 * call channel ID
52 */
53@property (nonatomic,assign) UInt64 callID;
54/**
55 * 呼叫方 ID
56 */
57@property (nonatomic,copy) NSString *from;
58/**
59 * 发起时间
60 */
61@property (nonatomic,assign) NSTimeInterval timetag;
62/**
63 * 时长
64 */
65@property (nonatomic,assign) NSTimeInterval duration;
66
67/**
68 * 参与通话成员
69 */
70@property (nonatomic,strong) NSArray *members;
71
72/**
73 * 扩展字段
74 */
75@property (nonatomic,copy) NSString *extendMessage;
76
77@end
78
79NS_ASSUME_NONNULL_END
NIMNetCallType
Definition: NIMGlobalDefs.h:67
NIMNetCallEventType
Definition: NIMNetCallNotificationContent.h:18
@ NIMNetCallEventTypeBill
Definition: NIMNetCallNotificationContent.h:30
@ NIMNetCallEventTypeNoResponse
Definition: NIMNetCallNotificationContent.h:22
@ NIMNetCallEventTypeMiss
Definition: NIMNetCallNotificationContent.h:26
@ NIMNetCallEventTypeReject
Definition: NIMNetCallNotificationContent.h:34
Definition: NIMNetCallNotificationContent.h:42
NIMNetCallType callType
Definition: NIMNetCallNotificationContent.h:45
NSArray * members
Definition: NIMNetCallNotificationContent.h:70
NSString * extendMessage
Definition: NIMNetCallNotificationContent.h:75
NSTimeInterval duration
Definition: NIMNetCallNotificationContent.h:65
NIMNetCallEventType eventType
Definition: NIMNetCallNotificationContent.h:49
UInt64 callID
Definition: NIMNetCallNotificationContent.h:53
NSTimeInterval timetag
Definition: NIMNetCallNotificationContent.h:61
NSString * from
Definition: NIMNetCallNotificationContent.h:57
Definition: NIMNotificationContent.h:46