---
title: IntentModes.ForegroundMode
framework: appintents
role: symbol
role_heading: Structure
path: appintents/intentmodes/foregroundmode
---

# IntentModes.ForegroundMode

A type that defines the available foreground behaviors for an app intent.

## Declaration

```swift
struct ForegroundMode
```

## Overview

Overview Use this type to specify the foreground behaviors you want to apply to your app intent. Each option specifies when and how the system brings your app to the foreground to perform the app intent’s action.

## Topics

### Type Properties

- [deferred](appintents/intentmodes/foregroundmode/deferred.md)
- [dynamic](appintents/intentmodes/foregroundmode/dynamic.md)
- [immediate](appintents/intentmodes/foregroundmode/immediate.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
