StreamFactory

class StreamFactory<Model> : ModelLoaderFactory<T, Y>

Factory for loading InputStreams from data uris.

Parameters

<Model>

The type of Model we can obtain data for, e.g. String.

Constructors

Link copied to clipboard
open fun StreamFactory()

Functions

Link copied to clipboard
open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<Model, InputStream>
Build a concrete ModelLoader for this model type.
Link copied to clipboard
open fun teardown()
A lifecycle method that will be called when this factory is about to replaced.