public final class

ResolvingDataSource.Factory

extends java.lang.Object

implements DataSource.Factory

 java.lang.Object

↳androidx.media3.datasource.ResolvingDataSource.Factory

Overview

DataSource.Factory for ResolvingDataSource instances.

Summary

Constructors
publicFactory(DataSource.Factory upstreamFactory, ResolvingDataSource.Resolver resolver)

Methods
public ResolvingDataSourcecreateDataSource()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Factory(DataSource.Factory upstreamFactory, ResolvingDataSource.Resolver resolver)

Parameters:

upstreamFactory: The wrapped DataSource.Factory for handling resolved DataSpecs.
resolver: The ResolvingDataSource.Resolver to resolve the DataSpecs.

Methods

public ResolvingDataSource createDataSource()