ARTChannelStateChange
Objective-C
@interface ARTChannelStateChange : NSObject
Swift
class ARTChannelStateChange : NSObject, @unchecked Sendable
Contains state change information emitted by an ARTRealtimeChannel object.
-
The new current
ARTRealtimeChannelState.Declaration
Objective-C
@property (nonatomic, readonly) ARTRealtimeChannelState current;Swift
var current: ARTRealtimeChannelState { get } -
The previous state. For the
ARTChannelEvent.ARTChannelEventUpdateevent, this is equal to thecurrentstate.Declaration
Objective-C
@property (nonatomic, readonly) ARTRealtimeChannelState previous;Swift
var previous: ARTRealtimeChannelState { get } -
The event that triggered this
ARTRealtimeChannelStatechange.Declaration
Objective-C
@property (nonatomic, readonly) ARTChannelEvent event;Swift
var event: ARTChannelEvent { get } -
An
ARTErrorInfoobject containing any information relating to the transition.Declaration
Objective-C
@property (nonatomic, readonly, nullable) ARTErrorInfo *reason;Swift
var reason: ARTErrorInfo? { get } -
Indicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL resumed;Swift
var resumed: Bool { get }