getTemporaryContentUrl

abstract fun getTemporaryContentUrl(listener: CallbackListener<String>): CancellationToken

Returns direct content URL for the media.

This URL is impermanent, it will expire in several minutes and cannot be cached. If the URL becomes expired, you need to request a new one. Each call to this function produces a new temporary URL.

Return

CancellationToken which allows to cancel network request.

Parameters

listener

Listener to receive temporary URL.