<!--
{
  "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:opensIntent:dialog:snippetIntent:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultPAAE6result5value05opensC06dialog07snippetC0AA0cD9ContainerVyqd__s5NeverOAA08_SnippetcJ0VAA0C6DialogVGqd___qd_0_APqd_1_tAQRszAA01_C5ValueRd__AA0aC0Rd_0_AA0lC0Rd_1_r1_lFZ"
  },
  "title" : "result(value:opensIntent:dialog:snippetIntent:)"
}
-->

# result(value:opensIntent:dialog:snippetIntent:)

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

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

## Parameters

`value`

The value produced by the `AppIntent`

`opensIntent`

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

`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)