SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType == AppIntents.IntentFile>.init<A where A1: AppIntents.DynamicOptionsProvider, A1.DefaultValue.ValueType == AppIntents.IntentFile>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, default: A.UnwrappedType?, capabilities: Set<AppIntents.IntentParameterCapability>, supportedContentTypes: [UniformTypeIdentifiers.UTType], requestValueDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, optionsProvider: 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
A1 - sameType==associatedType
ValueType- baseassociatedType
DefaultValue- basegenericParameter
A1
structAppIntents.IntentFile
param{}
- 0title:enumSwift.Optional
- 1description:enumSwift.Optional
- 2default:enumSwift.Optional
- argassociatedType
UnwrappedType- basegenericParameter
A
- 3capabilities:structSwift.Set
- 4supportedContentTypes:structSwift.Array
- 5requestValueDialog:enumSwift.Optional
- 6inputConnectionBehavior:
- 7optionsProvider:genericParameter
A1
result{}
- arggenericParameter
A