---
title: ImmersionChangeContext
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/immersionchangecontext
---

# ImmersionChangeContext

A structure that represents a state of immersion of your app.

## Declaration

```swift
struct ImmersionChangeContext
```

## Overview

Overview You don’t use this structure directly. Instead, SwiftUI provides instances of this structure via the onImmersionChange modifier’s closure.

## Topics

### Instance Properties

- [amount](swiftui/immersionchangecontext/amount.md)

## Relationships

### Conforms To

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

## See Also

### Responding to immersion changes

- [onImmersionChange(initial:_:)](swiftui/view/onimmersionchange(initial:_:).md)
