// // NIMNetCallNotificationContent.h // NIMLib // // Created by Netease // Copyright (c) 2015 Netease. All rights reserved. // #import #import "NIMGlobalDefs.h" #import "NIMNotificationContent.h" NS_ASSUME_NONNULL_BEGIN /** * 网络电话类型 */ typedef NS_ENUM(NSInteger, NIMNetCallEventType){ /** * 对方拒接电话 */ NIMNetCallEventTypeReject = -1, /** * 对方无人接听 */ NIMNetCallEventTypeNoResponse = -2, /** * 未接电话 */ NIMNetCallEventTypeMiss = 101, /** * 电话回单 */ NIMNetCallEventTypeBill = 102, }; /** * 网络通话通知内容 */ @interface NIMNetCallNotificationContent : NIMNotificationContent /** * 网络通话类型 */ @property (nonatomic,assign) NIMNetCallType callType; /** * 操作类型 */ @property (nonatomic,assign) NIMNetCallEventType eventType; /** * call id */ @property (nonatomic,assign) UInt64 callID; /** * 时长 */ @property (nonatomic,assign) NSTimeInterval duration; @end NS_ASSUME_NONNULL_END