MuxDataSource

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Factory(upstream: HttpDataSource.Factory = DefaultHttpDataSource.Factory()) : DataSource.Factory

Creates a new instance of MuxDataSource. The upstream data source will be invoked for any data that Mux's cache cannot provide

Functions

Link copied to clipboard
Link copied to clipboard
protected fun bytesTransferred(p0: Int)
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(buffer: ByteArray, offset: Int, length: Int): Int
Link copied to clipboard
protected fun transferEnded()
Link copied to clipboard
protected fun transferInitializing(p0: DataSpec)
Link copied to clipboard
protected fun transferStarted(p0: DataSpec)

Properties

Link copied to clipboard