ARTStatsQuery
Objective-C
@interface ARTStatsQuery : ARTDataQuery
Swift
class ARTStatsQuery : ARTDataQuery
This object is used for providing parameters into ARTStats
‘s methods with paginated results.
-
ARTStatsGranularity.ARTStatsGranularityMinute
,ARTStatsGranularity.ARTStatsGranularityHour
,ARTStatsGranularity.ARTStatsGranularityDay
orARTStatsGranularity.ARTStatsGranularityMonth
. Based on the unit selected, the givenstart
orend
times are rounded down to the start of the relevant interval depending on the unit granularity of the query.Declaration
Objective-C
@property (nonatomic) ARTStatsGranularity unit;
Swift
var unit: ARTStatsGranularity { get set }