ARTDataQuery
Objective-C
@interface ARTDataQuery : NSObject
Swift
class ARTDataQuery : NSObject
This object is used for providing parameters into methods with paginated results.
-
The time from which the data items are retrieved.
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *start;
Swift
var start: Date? { get set }
-
The time until the data items are retrieved.
Declaration
Objective-C
@property (nonatomic, nullable) NSDate *end;
Swift
var end: Date? { get set }
-
An upper limit on the number of the data items returned. The default is 100, and the maximum is 1000.
Declaration
Objective-C
@property (nonatomic) uint16_t limit;
Swift
var limit: UInt16 { get set }
-
The order for which the data is returned in. Valid values are
ARTQueryDirectionBackwards
which orders items from most recent to oldest, orARTQueryDirectionForwards
which orders items from oldest to most recent. The default isARTQueryDirectionBackwards
.Declaration
Objective-C
@property (nonatomic) ARTQueryDirection direction;
Swift
var direction: ARTQueryDirection { get set }