SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType: AppIntents.AppEntity, A.ValueType: AppIntents.AppEnum>.init<A where A1: AppIntents.ResolverSpecification>(title: Foundation.LocalizedStringResource, description: Foundation.LocalizedStringResource?, default: _const A.UnwrappedType?, requestValueDialog: AppIntents.IntentDialog?, requestDisambiguationDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, supportedValues: [A.ValueType], 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:
- 1description:enumSwift.Optional
- 2default:enumSwift.Optional
- argassociatedType
UnwrappedType- basegenericParameter
A
- 3requestValueDialog:enumSwift.Optional
- 4requestDisambiguationDialog:enumSwift.Optional
- 5inputConnectionBehavior:
- 6supportedValues:structSwift.Array
- argassociatedType
ValueType- basegenericParameter
A
- 7resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A