One Logo Pool Ball
AppIntents · IOS API REFERENCE

SetFocusFilterIntent

protocol · iOS 16.0+ · SDK 27.1

protocol SetFocusFilterIntent : AppIntent, InstanceDisplayRepresentable

An interface for providing an app intent that you use to adapt your app's behavior when Focus changes. > Related sessions from WWDC22: > Session 10121: [Meet Focus filters](https://developer.apple.com/videos/play/wwdc2022/10121).

Members (1)

get · iOS 16.0+

appContext

Swift declaration
var appContext: FocusFilterAppContext { get }

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.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SetFocusFilterIntent.suggestedFocusFilters(for:)

Static protocol requirements cannot be called through an instance.

SetFocusFilterIntent.invalidateFocusFilterAppContext()

Static protocol requirements cannot be called through an instance.

SetFocusFilterIntent.current

Static protocol requirements cannot be called through an instance.

All AppIntents types →