ResolvingDataSource.Factory


class ResolvingDataSource.Factory : DataSource.Factory


DataSource.Factory for ResolvingDataSource instances.

Summary

Public constructors

Factory(
    upstreamFactory: DataSource.Factory!,
    resolver: ResolvingDataSource.Resolver!
)

Public functions

ResolvingDataSource!

Creates a DataSource instance.

Public constructors

Factory

Factory(
    upstreamFactory: DataSource.Factory!,
    resolver: ResolvingDataSource.Resolver!
)
Parameters
upstreamFactory: DataSource.Factory!

The wrapped DataSource.Factory for handling resolved DataSpecs.

resolver: ResolvingDataSource.Resolver!

The Resolver to resolve the DataSpecs.

Public functions

createDataSource

fun createDataSource(): ResolvingDataSource!

Creates a DataSource instance.