<!--
{
  "availability" : [
    "iOS: 16.0.0 - 27.2.0",
    "iPadOS: 16.0.0 - 27.2.0",
    "macCatalyst: 16.0.0 - 27.0.0",
    "macOS: 13.0.0 - 27.2.0",
    "visionOS: 1.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXLaunchTaskID",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:@T@MXLaunchTaskID"
  },
  "title" : "MXLaunchTaskID"
}
-->

# MXLaunchTaskID

The task identifier to track launch measurements.

```
struct MXLaunchTaskID
```

## Topics

### Creating a task identifier

[`init(String)`](/documentation/MetricKit/MXLaunchTaskID/init(_:))

Creates a task identifer from a string.

[`init(rawValue: String)`](/documentation/MetricKit/MXLaunchTaskID/init(rawValue:))

Creates a task identifer from a string.

## Relationships

### Conforms To

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

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

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

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

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

---

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)