---
title: "result(value:opensIntent:dialog:content:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(value:opensintent:dialog:content:)-mwwf"
---

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

Indicates the AppIntent finished performing

## Declaration

```swift
static func result<Value, Content>(value: Value, opensIntent: some AppIntent, dialog: IntentDialog, @ViewBuilder content: () -> Content) -> Self where Self == IntentResultContainer<Value, Never, _SnippetViewContainer, IntentDialog>, Value : _IntentValue, Content : View
```

## Parameters

- `value`: The value produced by the AppIntent
- `opensIntent`: An AppIntent to shows the result of current intent
- `dialog`: A custom success dialog
- `content`: A custom View to display the result
