SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType == Foundation.Measurement<NSUnitDispersion>>.init<A where A1: AppIntents.ResolverSpecification>(title: Foundation.LocalizedStringResource, description: Foundation.LocalizedStringResource?, defaultValue: _const Double?, unit: _const AppIntents.IntentParameter<A>< where A.ValueType == Foundation.Measurement<NSUnitDispersion>>.Dispersion, unitAdjustForLocale: _const Bool, supportsNegativeNumbers: _const Bool, requestValueDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, 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
- 2defaultValue:enumSwift.Optional
- 3unit:
- 4unitAdjustForLocale:structSwift.Bool
- 5supportsNegativeNumbers:structSwift.Bool
- 6requestValueDialog:enumSwift.Optional
- 7inputConnectionBehavior:
- 8resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A