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 to true the results will be returned as soon as the sync is complete. When set to false the current list of members will be returned without the sync completing. The default is true.

    Declaration

    Objective-C

    @property (nonatomic) BOOL waitForSync;

    Swift

    var waitForSync: Bool { get set }