SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.UnwrappedType: Collection, A.ValueType: AppIntents.FileEntity>.init<A where A1: AppIntents.ResolverSpecification>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, default: A.UnwrappedType?, capabilities: Set<AppIntents.IntentParameterCapability>, supportedContentTypes: [UniformTypeIdentifiers.UTType]?, size: [AppIntents.IntentWidgetFamily : AppIntents.IntentCollectionSize], inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, resolvers: () -> A1) -> AppIntents.IntentParameter<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
AA1
req{}
- conformance:genericParameter
A1protocolAppIntents.ResolverSpecification
param{}
- 0title:enumSwift.Optional
- 1description:enumSwift.Optional
- 2default:enumSwift.Optional
- argassociatedType
UnwrappedType- basegenericParameter
A
- 3capabilities:structSwift.Set
- 4supportedContentTypes:enumSwift.Optional
- 5size:structSwift.Dictionary
- 6inputConnectionBehavior:
- 7resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A