Factory

class Factory(tokenProvider: AkamaiTokenProvider = AkamaiTokenProvider(), defaultDataSourceFactory: DataSource.Factory = DefaultHttpDataSource.Factory()) : DataSource.Factory

Factory that crate a AkamaiTokenDataSource

Parameters

tokenProvider
defaultDataSourceFactory

Constructors

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

Functions

Link copied to clipboard
open override fun createDataSource(): DataSource