resolve

abstract fun resolve(path: String): StoredMedia?

Resolves a media by its path.

Return

the matching media, if any is found

Parameters

path

path of the media. Can be a file path or a URL