add From Catalog
abstract suspend fun addFromCatalog(source: InputStream): ShazamKitResult<ShazamKitException, Unit>
Content copied to clipboard
Load a pre made Custom catalog from disk. Once the Catalog had been added to a Session further calls to this method will be ignored.
The stream must be open and available, and will not be closed once used.
Throws exceptions if the stream representing the custom catalog is not accessible or invalid.
Return
a ShazamKitResult that reports the success or failure of the operation.
Parameters
source
The stream to the assets.