Contents

result(value:opensIntent:snippetIntent:)

Indicates that a completed app intent displays an interactive snippet and returns a value and another intent to open the originating app.

Declaration

static func result<Value>(value: Value, opensIntent: some AppIntent, snippetIntent: some SnippetIntent = EmptySnippetIntent()) -> Self where Self == IntentResultContainer<Value, Never, _SnippetIntentContainer, Never>, Value : _IntentValue

Parameters

  • value:

    The value that the app intent returns after completion.

  • opensIntent:

    An app intent to open the originating app and show the intent’s result. additional functionality.

  • snippetIntent:

    An app intent that displays an interactive snippet.