<!--
{
  "availability" : [
    "iOS: 13.0.0 - 27.0.0",
    "iPadOS: 13.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 12.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXMetaData",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MXMetaData"
  },
  "title" : "MXMetaData"
}
-->

# MXMetaData

An object containing system-level information about the device.

```
class MXMetaData
```

## Topics

### Reading data about a payload

[`applicationBuildVersion`](/documentation/MetricKit/MXMetaData/applicationBuildVersion)

The value of the bundle version key in the app’s property list.

[`deviceType`](/documentation/MetricKit/MXMetaData/deviceType)

The hardware identifier for the device.

[`isTestFlightApp`](/documentation/MetricKit/MXMetaData/isTestFlightApp)

Indicates whether the app is registered with TestFlight.

[`lowPowerModeEnabled`](/documentation/MetricKit/MXMetaData/lowPowerModeEnabled)

Indicates whether low power mode is enabled on the device.

[`osVersion`](/documentation/MetricKit/MXMetaData/osVersion)

The version of the OS on the device including the type of OS, version number, and build number.

[`platformArchitecture`](/documentation/MetricKit/MXMetaData/platformArchitecture)

The name of the processor architecture for the device.

[`regionFormat`](/documentation/MetricKit/MXMetaData/regionFormat)

The short country code for the region format setting of the device.

[`pid`](/documentation/MetricKit/MXMetaData/pid)

The process ID (PID) of the process.

### Generating a report

[`-  dictionaryRepresentation`](/documentation/MetricKit/MXMetaData/dictionaryRepresentation())

Returns the contents of the metadata as a dictionary.

[`-  JSONRepresentation`](/documentation/MetricKit/MXMetaData/jsonRepresentation())

Returns the contents of the metadata in JSON format.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)