ARTRealtimeChannel
Objective-C
@interface ARTRealtimeChannel : NSObject <ARTRealtimeChannelProtocol>
Swift
class ARTRealtimeChannel : NSObject, ARTRealtimeChannelProtocol, @unchecked Sendable
Enables messages to be published and subscribed to. Also enables historic messages to be retrieved and provides access to the ARTRealtimePresence
object of a channel.
Also implements ARTEventEmitter
interface and emits ARTChannelEvent
events, where a ARTChannelEvent
is either a ARTRealtimeChannelState
or an ARTChannelEvent.ARTChannelEventUpdate
.
-
An
ARTPushChannel
object.Declaration
Objective-C
@property (readonly) ARTPushChannel *_Nonnull push;
Swift
var push: ARTPushChannel { get }