result(opensIntent:snippetIntent:)
Indicates that a completed app intent displays an interactive snippet and returns another intent to open the originating app.
Declaration
static func result(opensIntent: some AppIntent, snippetIntent: some SnippetIntent = EmptySnippetIntent()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetIntentContainer, Never>Parameters
- opensIntent:
An app intent to open the originating app and show the intent’s result.
- snippetIntent:
The intent responsible for presenting a snippet for this result