ARTPresenceQuery

Objective-C

@interface ARTPresenceQuery : NSObject

Swift

class ARTPresenceQuery : NSObject

This object is used for providing parameters into ARTRestPresence‘s methods with paginated results.

  • An upper limit on the number of messages returned. The default is 100, and the maximum is 1000.

    Declaration

    Objective-C

    @property (nonatomic) NSUInteger limit;

    Swift

    var limit: UInt { get set }
  • Filters the array of returned presence members by a specific client using its ID.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *clientId;

    Swift

    var clientId: String? { get set }
  • Filters the array of returned presence members by a specific connection using its ID.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *connectionId;

    Swift

    var connectionId: String? { get set }