StreamFactory

class StreamFactory : ByteBufferParser<T>

Loads InputStreams for GlideUrls using cronet.

Constructors

Link copied to clipboard
open fun StreamFactory(requestFactory: CronetRequestFactory, dataLogger: DataLogger)

Functions

Link copied to clipboard
open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<GlideUrl, InputStream>
Link copied to clipboard
open fun getDataClass(): Class<InputStream>
Returns the Class of the data that will be parsed from ByteBuffers.
Link copied to clipboard
open fun parse(byteBuffer: ByteBuffer): InputStream
Returns the required type of data parsed from the given ByteBuffer.
Link copied to clipboard
open fun teardown()