unload

inline fun AssetManager.unload(path: String, onError: (Exception) -> Unit)

Parameters

path

path of a loaded asset. Asset associated with this path will be unloaded.

onError

any thrown exceptions will be passed to this handler.