init(description:default:size:inputConnectionBehavior:query:)
Creates an app intent parameter for an array with a specified size.
Declaration
convenience init<Query>(description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, size: IntentCollectionSize, inputConnectionBehavior: InputConnectionBehavior = .default, query: Query) where Query : EntityQuery, Value.ValueType == Query.EntityParameters
- description:
Additional details about this parameter.
- defaultValue:
The default value for this parameter. People can specify a different value.
- size:
The size of the array you specify to limit the amount of values.
- inputConnectionBehavior:
An enum that indicates how this parameter receives the output from a preceding app intent.
- query:
A query that Siri and the Shortcuts app can use to retrieve instances of your entity.