setRecords
Synchronously sets a collection of CustomRecords in the CustomSearchDataProvider. It replaces any existing custom data. This data can then be taken into consideration for any subsequent search operations.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
A SearchFailure if the operation fails , or Unit if the operation succeeds.
Parameters
The records to be set.
Asynchronously sets a collection of CustomRecords in the CustomSearchDataProvider. It replaces any existing custom data. This data can then be taken into consideration for any subsequent search operations.
Important: This is a Public Preview API. It may be changed or removed at any time.
Return
The Cancellable operation.
Parameters
The records to be set.
The callback that is invoked upon completion of the operation.