SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType == AppIntents.IntentCurrencyAmount>.init<A, B where A1: AppIntents.ResolverSpecification, B1: AppIntents.DynamicOptionsProvider, B1.DefaultValue.ValueType == AppIntents.IntentCurrencyAmount>(title: Foundation.LocalizedStringResource, description: Foundation.LocalizedStringResource?, currencyCodes: _const [String], inclusiveRange: _const (lowerBound: NSDecimal, upperBound: NSDecimal)?, requestValueDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, optionsProvider: B1, resolvers: () -> A1) -> AppIntents.IntentParameter<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
ABA1B1
req{}
- conformance:genericParameter
A1protocolAppIntents.ResolverSpecification - conformance:genericParameter
B1 - sameType==associatedType
ValueType- baseassociatedType
DefaultValue- basegenericParameter
B1
param{}
- 0title:
- 1description:enumSwift.Optional
- 2currencyCodes:structSwift.Array
- 3inclusiveRange:enumSwift.Optional
- 4requestValueDialog:enumSwift.Optional
- 5inputConnectionBehavior:
- 6optionsProvider:genericParameter
B1 - 7resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A