One Logo Pool Ball
AppIntents · IOS API REFERENCE

AssistantSchemas.VisualIntelligenceIntent

protocol · iOS 16.0+ · SDK 27.1

protocol VisualIntelligenceIntent : AssistantSchemas.Model

Assistant schema conformance for app intents that match visual intelligence intents.

Members (1)

get · iOS 26.0+

semanticContentSearch

Swift declaration
var semanticContentSearch: some AssistantSchemas.Intent { get }

The app intent conforms to the schema for visual search functionality. ## Overview To integrate your app’s functionality with Visual Intelligence you use Swift macros that generate additional properties and add protocol conformance for your app intent implementation. For more information about the `.visualIntelligence` app intent domain, see <doc:app-schema-domain-system-and-in-app-search>. For general information about app intent domains, see <doc:making-actions-and-content-discoverable-by-apple-intelligence>. The following example shows an app intent that conforms to the `.visualIntelligence.semanticContentSearch` schema: ```swift @AppIntent(schema: .visualIntelligence.semanticContentSearch) struct SemanticContentSearchIntent: AppIntent { @Parameter var semanticContent: SemanticContentDescriptor func perform() async throws -> some IntentResult { return .result() } } ```

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →