SwiftinitAppIntentsAppIntents.EntityProperty

init

AppIntents.EntityProperty< where A.ValueType == Foundation.Measurement<NSUnitPower>>.init<A where A1: AppIntents.AppEntity>(identifier: _const String, title: Foundation.LocalizedStringResource, indexingKey: PartialKeyPath<CSSearchableItemAttributeSet>, asyncGetter: @Sendable (A1) async throws -> A) -> AppIntents.EntityProperty<A>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AA1

req{}

param{}

  1. 0identifier:
  2. 1title:
  3. 2indexingKey:
  4. 3asyncGetter:
    function@Sendable (A1) async throws -> Asendableescapingasyncthrows
    • paramgenericParameterA1
    • returnsgenericParameterA

result{}

  • arggenericParameterA