ARTChannelMode
Objective-C
enum ARTChannelMode : NSUInteger {}
Swift
struct ARTChannelMode : OptionSet, @unchecked Sendable
Describes the possible flags used to configure client capabilities, using ARTChannelOptions
.
-
The client can enter the presence set.
Declaration
Objective-C
ARTChannelModePresence = 1 << 16
Swift
static var presence: ARTChannelMode { get }
-
The client can publish messages.
Declaration
Objective-C
ARTChannelModePublish = 1 << 17
Swift
static var publish: ARTChannelMode { get }
-
The client can subscribe to messages.
Declaration
Objective-C
ARTChannelModeSubscribe = 1 << 18
Swift
static var subscribe: ARTChannelMode { get }
-
The client can receive presence messages.
Declaration
Objective-C
ARTChannelModePresenceSubscribe = 1 << 19
Swift
static var presenceSubscribe: ARTChannelMode { get }