---
title: "result(opensIntent:dialog:view:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(opensintent:dialog:view:)-1w6b6"
---

# result(opensIntent:dialog:view:)

Indicates the AppIntent finished performing

## Declaration

```swift
static func result<Content>(opensIntent: some AppIntent, dialog: IntentDialog, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, IntentDialog>, Content : View
```

## Parameters

- `opensIntent`: An AppIntent to shows the result of current intent
- `dialog`: A custom success dialog
- `view`: A custom View to display the result
