result(opensIntent:dialog:view:)
Indicates the AppIntent finished performing
Declaration
static func result<Content>(opensIntent: some AppIntent, dialog: IntentDialog, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, IntentDialog>, Content : ViewParameters
- opensIntent:
An
AppIntentto shows the result of current intent - dialog:
A custom success dialog
- view:
A custom View to display the result