---
title: "init(description:default:supportedContentTypes:size:inputConnectionBehavior:resolvers:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/intentparameter/init(description:default:supportedcontenttypes:size:inputconnectionbehavior:resolvers:)-8qqfn"
---

# init(description:default:supportedContentTypes:size:inputConnectionBehavior:resolvers:)

Creates an app intent parameter for an array with a specified size per widget family.

## Declaration

```swift
convenience init<Spec>(description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, supportedContentTypes: [UTType]? = nil, size: [IntentWidgetFamily : IntentCollectionSize], inputConnectionBehavior: InputConnectionBehavior = .default, @ResolverSpecificationBuilder<Value.UnwrappedType> resolvers: @escaping () -> Spec) where Spec : ResolverSpecification
```

## Parameters

- `description`: Additional details about this parameter.
- `defaultValue`: The default value for this parameter. People can specify a different value.
- `supportedContentTypes`: A list of selectable type identifiers for this parameter.
- `size`: The size of the array for a widget family. Use this to limit the amount of values.
- `inputConnectionBehavior`: An enum that indicates how this parameter receives the output from a preceding app intent.
- `resolvers`: An object that converts a value of another type to this parameter’s type.
