public class

FakeDataSource.Factory

extends java.lang.Object

implements DataSource.Factory

 java.lang.Object

↳androidx.media3.test.utils.FakeDataSource.Factory

Overview

Factory to create a FakeDataSource.

Summary

Fields
protected FakeDataSetfakeDataSet

protected booleanisNetwork

Constructors
publicFactory()

Methods
public FakeDataSourcecreateDataSource()

public final FakeDataSource.FactorysetFakeDataSet(FakeDataSet fakeDataSet)

public final FakeDataSource.FactorysetIsNetwork(boolean isNetwork)

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

Fields

protected FakeDataSet fakeDataSet

protected boolean isNetwork

Constructors

public Factory()

Methods

public final FakeDataSource.Factory setFakeDataSet(FakeDataSet fakeDataSet)

public final FakeDataSource.Factory setIsNetwork(boolean isNetwork)

public FakeDataSource createDataSource()