SKYChatRecordChange

@interface SKYChatRecordChange : NSObject

SKYChatRecordChange contains information of record change event for the chat extension.

Record change event occurs when data of a chat object such as conversation or message is created, updated and deleted.

You do not need to instantiate an instance of this class. This object is provided when you subscribe to record change notification.

  • Gets the record change event type.

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYChatRecordChangeEvent event;

    Swift

    var event: SKYChatRecordChangeEvent { get }
  • Gets the name of the record type of the changed record.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) NSString *recordType;

    Swift

    var recordType: String { get }
  • Gets the record.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) SKYRecord *record;

    Swift

    var record: SKYRecord { get }
  • Instantiates an instance of SKYChatRecordChange.

    Declaration

    Objective-C

    - (instancetype _Nullable)initWithDictionary:
                                  (NSDictionary<NSString *, id> *_Nonnull)dict
                                       eventType:(NSString *_Nullable)eventType;

    Swift

    init?(dictionary dict: [String : Any], eventType: String?)