Contents

result(value:dialog:content:)

Indicates the AppIntent finished performing

Declaration

static func result<Value, Content>(value: Value, dialog: IntentDialog, @ViewBuilder content: () -> Content) -> Self where Self == IntentResultContainer<Value, Never, _SnippetViewContainer, IntentDialog>, Value : _IntentValue, Content : View

Parameters

  • value:

    The value produced by the AppIntent

  • dialog:

    A custom success dialog

  • content:

    A custom View to display the result