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

Creating the search criteria

Getting the search term

Getting related types

See Also

Search