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{}

param{}

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

result{}

  • arggenericParameterA