---
title: "result(opensIntent:view:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(opensintent:view:)-4l1d4"
---

# result(opensIntent:view:)

## Declaration

```swift
static func result<OpensAppIntent, Content>(opensIntent: OpensAppIntent, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, OpensAppIntent, _SnippetViewContainer, Never>, OpensAppIntent : AppIntent, Content : View
```
