An object that encapsulates a daily metrics report.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- Metric
Kit
Declaration
class MXMetricPayload : NSObject
An object that encapsulates a daily metrics report.
SDKs
Framework
class MXMetricPayload : NSObject
var cellular Condition Metrics: MXCellular Condition Metric?
The cellular condition measurements for the reporting period.
var cpu Metrics: MXCPUMetric?
The CPU metrics for the reporting period.
var display Metrics: MXDisplay Metric?
The display metrics for the reporting period.
var gpu Metrics: MXGPUMetric?
The GPU metrics for the reporting period.
var location Activity Metrics: MXLocation Activity Metric?
The location-tracking activity for the reporting period.
var network Transfer Metrics: MXNetwork Transfer Metric?
The network-transfer activity for the reporting period.
var application Launch Metrics: MXApp Launch Metric?
The app launch and resume metrics for the reporting period.
var application Responsiveness Metrics: MXApp Responsiveness Metric?
The metrics indicating an app's responsiveness to user interaction for the reporting period.
var application Time Metrics: MXApp Run Time Metric?
The app foreground and background time metrics for the reporting period.
var memory Metrics: MXMemory Metric?
The memory metrics for the reporting period.
var disk IOMetrics: MXDisk IOMetric?
The storage metrics for the reporting period.
var signpost Metrics: [MXSignpost Metric]?
An array of the custom metrics for the reporting period.
func json Representation() -> Data
Returns the contents of the payload in JSON format.
func dictionary Representation() -> [Any Hashable : Any]
Returns the results of the payload as a Dictionary.
var time Stamp Begin: Date
The starting time of the reporting period.
var time Stamp End: Date
The ending time of the reporting period.
var includes Multiple Application Versions: Bool
A Boolean indicating if the version of the app changed at least once during the reporting period.
var latest Application Version: String
The version of the app on the device at the end of the reporting period.
var meta Data: MXMeta Data?
A set of system-level information for the device.
class MXMeta Data
An object containing system-level information for the device.
class MXMetric Manager
The object that registers you to receive metrics, creates logs for custom metrics, and gives access to past reports.