AkamaiTokenDataSource

A DataSource that injects an Akamai token into URLs containing the query parameter withToken=true.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Factory(tokenProvider: AkamaiTokenProvider = AkamaiTokenProvider(), defaultDataSourceFactory: DataSource.Factory = DefaultHttpDataSource.Factory()) : DataSource.Factory

A factory for creating instances of AkamaiTokenDataSource.

Properties

Link copied to clipboard
Link copied to clipboard
open override val uri: Uri?

Functions

Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun getUri(): Uri?
Link copied to clipboard
open override fun open(dataSpec: DataSpec): Long
Link copied to clipboard
open override fun read(p0: ByteArray, p1: Int, p2: Int): Int