---
title: "result(value:opensIntent:snippetIntent:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(value:opensintent:snippetintent:)"
---

# 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

```swift
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.
