---
title: AppEntityContext
framework: appintents
role: symbol
role_heading: Structure
path: appintents/appentitycontext
---

# AppEntityContext

The context used to scope suggested entity donations to a specific domain.

## Declaration

```swift
struct AppEntityContext
```

## Overview

Overview Pass a AppEntityContext when donating or removing entities via RelevantEntities to associate suggestions with the appropriate part of the app experience. Use extensions defined by framework overlays (such as the HealthKit overlay) to create context values for specific domains.

## Topics

### Type Methods

- [audio(_:)](appintents/appentitycontext/audio(_:).md)

## Relationships

### Conforms To

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

## See Also

### Entity relevance

- [RelevantEntities](appintents/relevantentities.md)
- [AudioContext](appintents/audiocontext.md)
