getRecords

abstract fun getRecords(): Result<Set<T>, SearchError>

Synchronously get the collection of CustomRecords previously set in the CustomSearchDataProvider.

Return

A SearchError if the operation fails, or returns the custom data records if it succeeds.


Asynchronously get the collection of CustomRecords previously set in the CustomSearchDataProvider.

Return

The Cancellable operation.

Parameters

callback

The callback that is invoked upon completion of the operation.