<!--
{
  "availability" : [
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SnapshotData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI12SnapshotDataV"
  },
  "title" : "SnapshotData"
}
-->

# SnapshotData

The associated data of a snapshot background task.

```
struct SnapshotData
```

## Topics

### Getting the data

[`let identifier: String?`](/documentation/SwiftUI/SnapshotData/identifier)

The identifier associated with this snapshot request.

[`let reason: SnapshotData.SnapshotReason`](/documentation/SwiftUI/SnapshotData/reason)

The reason for a background snapshot task.

[`enum SnapshotReason`](/documentation/SwiftUI/SnapshotData/SnapshotReason)

The reason for a background snapshot task.

## Relationships

### Conforms To

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

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

---

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)