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

# result(opensIntent:snippetIntent:)

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

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

## Parameters

`opensIntent`

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

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