SwiftinitAppIntentsAppIntents.IntentParameter

init

AppIntents.IntentParameter< where A.ValueType: Decodable, A.ValueType: Encodable>.init<A where A1: AppIntents.DynamicOptionsProvider, A.ValueType == A1.DefaultValue.ValueType>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, default: A.UnwrappedType?, capabilities: Set<AppIntents.IntentParameterCapability>, requestValueDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, optionsProvider: 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
    genericParameterA1
    :
  • sameType
    associatedTypeValueType
    • basegenericParameterA
    ==
    associatedTypeValueType
    • baseassociatedTypeDefaultValue
      • basegenericParameterA1

param{}

  1. 0title:
  2. 1description:
  3. 2default:
    • argassociatedTypeUnwrappedType
      • basegenericParameterA
  4. 3capabilities:
  5. 4requestValueDialog:
  6. 5inputConnectionBehavior:
  7. 6optionsProvider:
    genericParameterA1

result{}

  • arggenericParameterA