result(value:dialog:view:)
Indicates the AppIntent finished performing
Declaration
static func result<Value, Content>(value: Value, dialog: IntentDialog, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Value, Never, _SnippetViewContainer, IntentDialog>, Value : _IntentValue, Content : ViewParameters
- value:
The value produced by the
AppIntent - dialog:
A custom success dialog
- view:
A custom View to display the result