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

# result(snippetIntent:)

Indicates that a completed app intent displays an interactive snippet.

## Declaration

```swift
static func result(snippetIntent: some SnippetIntent = EmptySnippetIntent()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetIntentContainer, Never>
```

## Parameters

- `snippetIntent`: An app intent that displays an interactive snippet.
