IndexedEntity
An interface that allows you to include an entity in your app’s Spotlight index.
Declaration
protocol IndexedEntity : AppEntityMentioned in
Overview
Adopt this protocol in app entities you want to include in your app’s Spotlight index. Adding entities to Spotlight makes them discoverable by Apple Intelligence, and also serves as the first step in letting Spotlight launch your app and display items that appear in search results. Use the properties of this protocol to configure additional Spotlight metadata to accompany your app entity in the index.
For more information about adding entities to your app’s Spotlight index, see Making app entities available in Spotlight.