<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/SetFocusFilterIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents20SetFocusFilterIntentP"
  },
  "title" : "SetFocusFilterIntent"
}
-->

# SetFocusFilterIntent

An interface for providing an app intent that you use to adapt your app’s behavior when Focus changes.

```
protocol SetFocusFilterIntent : AppIntent, InstanceDisplayRepresentable
```

## Overview> Related sessions from WWDC22:
> Session 10121: [Meet Focus filters](https://developer.apple.com/videos/play/wwdc2022/10121).

## Topics

### Getting the current app configuration

[`current`](/documentation/AppIntents/SetFocusFilterIntent/current)

[`suggestedFocusFilters(for:)`](/documentation/AppIntents/SetFocusFilterIntent/suggestedFocusFilters(for:))

You can implement this method to return a list of suggested focus configurations. This is
useful when the suggested focus configurations are different from the configuration when
the focus is turned off.

### Configuring app context for the Focus

[`appContext`](/documentation/AppIntents/SetFocusFilterIntent/appContext)

An app context that is associated with the focus configuration. The system will retrieve
this app context and adapt the system behavior based on the context provided.

[`invalidateFocusFilterAppContext()`](/documentation/AppIntents/SetFocusFilterIntent/invalidateFocusFilterAppContext())

## Relationships

### Inherits From

[`CustomLocalizedStringResourceConvertible`](/documentation/Foundation/CustomLocalizedStringResourceConvertible)

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

[`PersistentlyIdentifiable`](/documentation/AppIntents/PersistentlyIdentifiable)

[`InstanceDisplayRepresentable`](/documentation/AppIntents/InstanceDisplayRepresentable)

[`AppIntent`](/documentation/AppIntents/AppIntent)

[`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)