ARTRealtimeChannelOptions
Objective-C
@interface ARTRealtimeChannelOptions : ARTChannelOptions
Swift
class ARTRealtimeChannelOptions : ARTChannelOptions
Passes additional properties to an ARTRealtimeChannel
object, such as encryption, an ARTChannelMode
and channel parameters.
-
Channel Parameters that configure the behavior of the channel.
Declaration
Objective-C
@property (nonatomic, nullable) NSStringDictionary *params;
Swift
var params: [String : String]? { get set }
-
An array of
ARTChannelMode
objects.Declaration
Objective-C
@property (nonatomic) ARTChannelMode modes;
Swift
var modes: ARTChannelMode { get set }
-
A boolean which determines whether calling
subscribe
on aARTRealtimeChannel
orARTRealtimePresense
object should trigger an implicit attach (for realtime client libraries only). Defaults to true.Declaration
Objective-C
@property (nonatomic) BOOL attachOnSubscribe;
Swift
var attachOnSubscribe: Bool { get set }