SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType == Double>.init<A, B where A1: AppIntents.ResolverSpecification, B1: AppIntents.DynamicOptionsProvider, B1.DefaultValue.ValueType == Double>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, capabilities: Set<AppIntents.IntentParameterCapability>, controlStyle: _const AppIntents.IntentParameter<A>.DoubleControlStyle, inclusiveRange: _const (lowerBound: Double, upperBound: Double)?, 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
structSwift.Double
param{}
- 0title:enumSwift.Optional
- 1description:enumSwift.Optional
- 2capabilities:structSwift.Set
- 3controlStyle:
- 4inclusiveRange:enumSwift.Optional
- argtuple
(lowerBound: Double, upperBound: Double)
- 5requestValueDialog:enumSwift.Optional
- 6inputConnectionBehavior:
- 7optionsProvider:genericParameter
B1 - 8resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A