saveToLibrary

abstract suspend fun saveToLibrary(item: EchoMediaItem, shouldSave: Boolean)

Saves or removes a media item from the library.

Parameters

item

the media item to save or remove.

shouldSave

whether the media item should be saved or removed.