SwiftinitAppIntentsAppIntents.IntentParameter

init

AppIntents.IntentParameter< where A.ValueType == Double>.init<A where A1: AppIntents.ResolverSpecification>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, default: _const A.UnwrappedType?, capabilities: Set<AppIntents.IntentParameterCapability>, controlStyle: _const AppIntents.IntentParameter<A>.DoubleControlStyle, inclusiveRange: _const (lowerBound: Double, upperBound: Double)?, 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{}

param{}

  1. 0title:
  2. 1description:
  3. 2default:
    • argassociatedTypeUnwrappedType
      • basegenericParameterA
  4. 3capabilities:
  5. 4controlStyle:
  6. 5inclusiveRange:
    • argtuple(lowerBound: Double, upperBound: Double)
  7. 6requestValueDialog:
  8. 7inputConnectionBehavior:
  9. 8resolvers:
    function() -> A1escaping
    • returnsgenericParameterA1

result{}

  • arggenericParameterA