共用方式為


ACSPushNotificationInfo 類別

宣告

@interface ACSPushNotificationInfo : NSObject;

Description

描述來電

方法

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;

@property (retain, readonly, nonnull) id<CommunicationIdentifier> from;

to

@property (retain, readonly, nonnull) id<CommunicationIdentifier> to;

callId

@property (nonatomic, readonly, nonnull) NSUUID* callId;