---
title: "configurationIntent(of:)"
framework: widgetkit
role: symbol
role_heading: Instance Method
path: "widgetkit/controlinfo/configurationintent(of:)"
---

# configurationIntent(of:)

Gets the associated App Intent.

## Declaration

```swift
func configurationIntent<Intent>(of intentType: Intent.Type = Intent.self) -> Intent? where Intent : ControlConfigurationIntent
```

## Parameters

- `intentType`: The expected type for the App Intent.

## Return Value

Return Value An App Intent that contains the user-edited values or nil if there is no associated App Intent or the type does not match intentType.
