ARTRealtimePresenceQuery
Objective-C
@interface ARTRealtimePresenceQuery : ARTPresenceQuery
Swift
class ARTRealtimePresenceQuery : ARTPresenceQuery
This object is used for providing parameters into ARTRealtimePresence
‘s methods with paginated results.
-
Sets whether to wait for a full presence set synchronization between Ably and the clients on the channel to complete before returning the results. Synchronization begins as soon as the channel is
ARTRealtimeChannelState.ARTRealtimeChannelAttached
. When set totrue
the results will be returned as soon as the sync is complete. When set tofalse
the current list of members will be returned without the sync completing. The default istrue
.Declaration
Objective-C
@property (nonatomic) BOOL waitForSync;
Swift
var waitForSync: Bool { get set }