ARTStats
Objective-C
@interface ARTStats : NSObject
Swift
class ARTStats : NSObject
Contains application statistics for a specified time interval and time period.
-
A
ARTStatsMessageTypesobject containing the aggregate count of all message stats.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsMessageTypes *_Nonnull all;Swift
var all: ARTStatsMessageTypes { get } -
A
ARTStatsMessageTrafficobject containing the aggregate count of inbound message stats.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsMessageTraffic *_Nonnull inbound;Swift
var inbound: ARTStatsMessageTraffic { get } -
A
ARTStatsMessageTrafficobject containing the aggregate count of outbound message stats.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsMessageTraffic *_Nonnull outbound;Swift
var outbound: ARTStatsMessageTraffic { get } -
A
ARTStatsMessageTypesobject containing the aggregate count of persisted message stats.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsMessageTypes *_Nonnull persisted;Swift
var persisted: ARTStatsMessageTypes { get } -
A
ARTStatsConnectionTypesobject containing a breakdown of connection related stats, such as min, mean and peak connections.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsConnectionTypes *_Nonnull connections;Swift
var connections: ARTStatsConnectionTypes { get } -
A
ARTStatsResourceCountobject containing a breakdown of channels.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsResourceCount *_Nonnull channels;Swift
var channels: ARTStatsResourceCount { get } -
A
ARTStatsRequestCountobject containing a breakdown of API Requests.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsRequestCount *_Nonnull apiRequests;Swift
var apiRequests: ARTStatsRequestCount { get } -
A
ARTStatsRequestCountobject containing a breakdown of Ably Token requests.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsRequestCount *_Nonnull tokenRequests;Swift
var tokenRequests: ARTStatsRequestCount { get } -
A
ARTStatsPushCountobject containing a breakdown of stats on push notifications.Declaration
Objective-C
@property (nonatomic, readonly) ARTStatsPushCount *_Nonnull pushes;Swift
var pushes: ARTStatsPushCount { get } -
The UTC time at which the time period covered begins. If
unitis set tominutethis will be in the formatYYYY-mm-dd:HH:MM, ifhourit will beYYYY-mm-dd:HH, ifdayit will beYYYY-mm-dd:00and ifmonthit will beYYYY-mm-01:00.Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull intervalId;Swift
var intervalId: String { get } -
Represents the
intervalIdas aNSDateobject.Declaration
Objective-C
- (nonnull NSDate *)intervalTime;Swift
func intervalTime() -> Date -
DEPRECATED: this property is deprecated and will be removed in a future version. An alias for
unitthat must be from the unit property of the JSON.Declaration
Objective-C
- (ARTStatsGranularity)intervalGranularity;Swift
func intervalGranularity() -> ARTStatsGranularity