Contents

result(value:opensIntent:dialog:view:)

Indicates the AppIntent finished performing

Declaration

static func result<Value, Content>(value: Value, opensIntent: some AppIntent, dialog: IntentDialog, view: Content = EmptyView()) -> 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

  • view:

    A custom View to display the result