<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentResult/result(value:dialog:snippetIntent:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultPAAE6result5value6dialog07snippetC0AA0cD9ContainerVyqd__s5NeverOAA08_SnippetcI0VAA0C6DialogVGqd___AOqd_0_tAPRszAA01_C5ValueRd__AA0kC0Rd_0_r0_lFZ"
  },
  "title" : "result(value:dialog:snippetIntent:)"
}
-->

# result(value:dialog:snippetIntent:)

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

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

## Parameters

`value`

The value produced by the `AppIntent`

`dialog`

A custom success dialog

`snippetIntent`

The intent responsible for presenting a snippet for this result

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)