getMediaSize

abstract fun getMediaSize(remoteUrl: String): Size

Returns the downloaded media size.

Return

Size. If the asset hasn't been cached or it fails to get either width or height the missing fields are filled with -1

Parameters

remoteUrl

: url string from which the cached data is fetched