---
title: "result(value:actionButtonIntent:activityIdentifier:dialog:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(value:actionbuttonintent:activityidentifier:dialog:)"
---

# result(value:actionButtonIntent:activityIdentifier:dialog:)

Indicates the Intent finished performing with an AppIntent to continue with

## Declaration

```swift
static func result<Value, Intent>(value: Value, actionButtonIntent: Intent, activityIdentifier: String, dialog: IntentDialog) -> Self where Self == IntentResultContainer<Value, Never, Never, IntentDialog>, Value : _IntentValue, Intent : AppIntent
```

## Parameters

- `value`: The value produced by the AppIntent
- `actionButtonIntent`: An intent that runs when a person presses the Action Button.
- `activityIdentifier`: An identifier for the activity.
- `dialog`: A custom success dialog
