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

# result(value:snippetIntent:)

Indicates that a completed app intent returns a value and displays an interactive snippet.

## Declaration

```swift
static func result<Value>(value: Value, 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.
- `snippetIntent`: An app intent that displays an interactive snippet.
