ARTChannelProperties

Objective-C

@interface ARTChannelProperties : NSObject

Swift

class ARTChannelProperties : NSObject

Describes the properties of the channel state.

  • Starts unset when a channel is instantiated, then updated with the channelSerial from each ARTChannelEventAttached event that matches the channel. Used as the value for ARTRealtimeHistoryQuery.untilAttach.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *attachSerial;

    Swift

    var attachSerial: String? { get }
  • Updated by the framework whenever there is some activity on the channel (user message received, presence updated or a channel attached).

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *channelSerial;

    Swift

    var channelSerial: String? { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithAttachSerial:(nullable NSString *)attachSerial channelSerial:(nullable NSString *)channelSerial;

    Swift

    init(attachSerial: String?, channelSerial: String?)