ARTRealtime
Objective-C
@interface ARTRealtime : NSObject <ARTRealtimeProtocol>
Swift
class ARTRealtime : NSObject, ARTRealtimeProtocol, @unchecked Sendable
A client that extends the functionality of the ARTRest
and provides additional realtime-specific features.
-
An
ARTConnection
object.Declaration
Objective-C
@property (readonly) ARTConnection *_Nonnull connection;
Swift
var connection: ARTConnection { get }
-
An
ARTChannels
object.Declaration
Objective-C
@property (readonly) ARTRealtimeChannels *_Nonnull channels;
Swift
var channels: ARTRealtimeChannels { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) ARTRealtimeInternal *internal
Swift
var `internal`: ARTRealtimeInternal { get }
-
Undocumented
Declaration
Objective-C
- (void)internalAsync:(void (^)(ARTRealtimeInternal *))use;
Swift
func internalAsync(_ use: @escaping (ARTRealtimeInternal) -> Void)
-
Undocumented
Declaration
Objective-C
- (void)internalSync:(void (^)(ARTRealtimeInternal *))use;
Swift
func internalSync(_ use: @escaping (ARTRealtimeInternal) -> Void)
-
Creates a proxy client to be used to supply analytics information for Ably-authored SDKs.
The proxy client shares the state of the
ARTRealtime
instance on which this method is called.Important
This method should only be called by Ably-authored SDKs.Declaration
Objective-C
- (nonnull ARTWrapperSDKProxyRealtime *)createWrapperSDKProxyWithOptions: (nonnull ARTWrapperSDKProxyOptions *)options;
Swift
func createWrapperSDKProxy(with options: ARTWrapperSDKProxyOptions) -> ARTWrapperSDKProxyRealtime