Contents

StringSearchCriteria

A type that tells your app to match its items against a provided string.

Declaration

struct StringSearchCriteria

Overview

Use this type in app intents that match your app’s content against a string-based value. When you define an app intent using the search schema or the ShowInAppSearchResultsIntent protocol, apply this type to the criteria property. When your app intent runs, the system sets that property to an instance of this structure and fills it with the search term. When you use this type in your app intent, use the accompanying StringSearchScope type for the searchScopes property.

Topics

Initializers

Instance Properties

Type Aliases

Type Properties

See Also

Defining the search criteria