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