---
title: SnapshotResponse
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/snapshotresponse
---

# SnapshotResponse

Your application’s response to a snapshot background task.

## Declaration

```swift
struct SnapshotResponse
```

## Topics

### Creating a response

- [init(restoredDefaultState:estimatedSnapshotExpiration:identifier:)](swiftui/snapshotresponse/init(restoreddefaultstate:estimatedsnapshotexpiration:identifier:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling background tasks

- [backgroundTask(_:action:)](swiftui/scene/backgroundtask(_:action:).md)
- [BackgroundTask](swiftui/backgroundtask.md)
- [SnapshotData](swiftui/snapshotdata.md)
