SwiftinitAppIntentsAppIntents.IntentParameter

init

AppIntents.IntentParameter< where A.ValueType: AppIntents.FileEntity>.init<A, B where A1: AppIntents.ResolverSpecification, B1: AppIntents.DynamicOptionsProvider, A.ValueType == B1.DefaultValue.ValueType>(title: Foundation.LocalizedStringResource?, description: Foundation.LocalizedStringResource?, default: A.UnwrappedType?, capabilities: Set<AppIntents.IntentParameterCapability>, supportedContentTypes: [UniformTypeIdentifiers.UTType]?, requestValueDialog: AppIntents.IntentDialog?, requestDisambiguationDialog: 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. 2default:
    • argassociatedTypeUnwrappedType
      • basegenericParameterA
  4. 3capabilities:
  5. 4supportedContentTypes:
  6. 5requestValueDialog:
  7. 6requestDisambiguationDialog:
  8. 7inputConnectionBehavior:
  9. 8optionsProvider:
    genericParameterB1
  10. 9resolvers:
    function() -> A1escaping
    • returnsgenericParameterA1

result{}

  • arggenericParameterA