Creates a `FocusFilterAppContext` with a specified `notificationFilterPredicate`
get · iOS 16.0+
notificationFilterPredicate
TypeScript
get notificationFilterPredicate(): (_Foundation_NSPredicate) | null
Swift declaration
let notificationFilterPredicate: NSPredicate?
An `NSPredicate` for system to filter the user's notifications of the app when a Focus is
active.
get · iOS 17.0+
targetContentIdentifierPrefix
TypeScript
get targetContentIdentifierPrefix(): (string) | null
Swift declaration
let targetContentIdentifierPrefix: String?
An identifier you provide to the system for use in scheme prefixes for Focus.
The system combines this prefix with the scheme `focus:` to prefix any
`targetContentIdentifier` strings you provide for the system to evaluate against your app's `sceneActivationConditions`.