IntentResult
protocol · iOS 16.0+ · SDK 27.1
protocol IntentResult : SendableA type that contains the result of performing an action, and includes optional information to deliver back to the initiator. Instead of implementing this protocol, use the ``ReturnsValue``, ``OpensAppIntent``, ``ProvidesDialog``, and ``ShowsSnippetView`` type aliases on your ``AppIntent/perform()`` implementation in combination with the ``IntentResult/result()`` methods as shown in the following example: ```swift func perform() async throws -> some ReturnsValue<Int> & OpensAppIntent { .result(value: 1, opensIntent: MyOpensIntent()) } ```
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
28 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
IntentResult.result()
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(value:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(opensIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for OpensAppIntent)
IntentResult.result(opensIntent:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(dialog:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(value:opensIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:opensIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:opensIntent:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:opensIntent:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(opensIntent:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for OpensAppIntent)
IntentResult.result(opensIntent:dialog:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(snippetIntent:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(value:snippetIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:opensIntent:snippetIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:opensIntent:dialog:snippetIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:dialog:snippetIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(opensIntent:snippetIntent:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(opensIntent:dialog:snippetIntent:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(dialog:snippetIntent:)
This protocol needs associated types that cannot yet cross the bridge.
IntentResult.result(actionButtonIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Intent)
IntentResult.result(actionButtonIntent:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Intent)
IntentResult.result(value:actionButtonIntent:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:actionButtonIntent:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(actionButtonIntent:activityIdentifier:)
This declaration needs Swift generic type arguments. (no canonical witness for Intent)
IntentResult.result(actionButtonIntent:activityIdentifier:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Intent)
IntentResult.result(value:actionButtonIntent:activityIdentifier:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)
IntentResult.result(value:actionButtonIntent:activityIdentifier:dialog:)
This declaration needs Swift generic type arguments. (no canonical witness for Value)