Contents

result(value:actionButtonIntent:activityIdentifier:)

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

Declaration

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.