<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/AppIntentControlValueProvider/Configuration",
  "metadataVersion" : "0.1.0",
  "role" : "Associated Type",
  "symbol" : {
    "kind" : "Associated Type",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit29AppIntentControlValueProviderP13ConfigurationQa"
  },
  "title" : "Configuration"
}
-->

# Configuration

The type of intent used to prepare the value.

```
associatedtype Configuration : ControlConfigurationIntent
```

## Discussion

When you create a custom provider, Swift infers this type from your
implementation of the required `ValueProvider/previewValue(configuration:)`
and `ValueProvider/currentValue(configuration:)` methods.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)