ACSPushNotificationInfo 类
声明
@interface ACSPushNotificationInfo : NSObject;
说明
描述传入呼叫
方法
fromDictionary
分析推送通知有效负载。
+(ACSPushNotificationInfo* _Nonnull) fromDictionary:(NSDictionary* _Nonnull)payload;
参数
payload
- 推送通知的有效负载。
属性
fromDisplayName
调用者的显示名称
@property (retain, nonnull, readonly) NSString * fromDisplayName;
incomingWithVideo
指示传入呼叫是否包含视频
@property (readonly) BOOL incomingWithVideo;
eventType
推送通知事件的类型
@property (readonly) ACSPushNotificationEventType eventType;
from
@property (retain, readonly, nonnull) id<CommunicationIdentifier> from;
to
@property (retain, readonly, nonnull) id<CommunicationIdentifier> to;
callId
@property (nonatomic, readonly, nonnull) NSUUID* callId;