CustomSearchDataProvider
public protocol CustomSearchDataProvider
Enables injection of custom search data to the search engine.
Important
This is a Public Preview API. It may be changed or removed at any time.-
RecordTypeto be used as a data source for the search service.Declaration
Swift
associatedtype RecordType : CustomRecord -
Data provider name. This uniquely identifies a custom data provider.
RecordType.idshould be unique within a provider. The combination ofnameandRecordType.idis a unique reference to a custom data record.Declaration
Swift
var name: String { get } -
A collection of
RecordTypeto be used as a data source for the search service.Declaration
Swift
var records: [RecordType] { get set }
CustomSearchDataProvider Protocol Reference