init(identifier:customIndexingKey:asyncGetter:)
Creates an app intent entity property. Do not call this directly, use @DeferredProperty
Declaration
convenience init<Entity>(identifier: String, customIndexingKey: CSCustomAttributeKey, asyncGetter: @escaping @Sendable (Entity) async throws -> Value) where Entity : AppEntityParameters
- identifier:
The identifier of the property
- customIndexingKey:
A custom Spotlight attribute set key for this property.
- asyncGetter:
The async getter for the property