<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentResult/result(value:actionButtonIntent:activityIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultPAAE6result5value012actionButtonC018activityIdentifierAA0cD9ContainerVyqd__s5NeverOA2KGqd___qd_0_SStALRszAA01_C5ValueRd__AA0aC0Rd_0_r0_lFZ"
  },
  "title" : "result(value:actionButtonIntent:activityIdentifier:)"
}
-->

# result(value:actionButtonIntent:activityIdentifier:)

Creates a result container with a value, a follow-on intent, and an identifier.

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

## Parameters

`value`

The value produced by the `AppIntent`

`actionButtonIntent`

A follow-on intent that can run next.

`activityIdentifier`

An identifier for the follow-on intent.

---

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)