public final class

FakeExtractorInput.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.FakeExtractorInput.Builder

Overview

Builder of FakeExtractorInput instances.

Summary

Constructors
publicBuilder()

Methods
public FakeExtractorInputbuild()

public FakeExtractorInput.BuildersetData(byte[] data[])

public FakeExtractorInput.BuildersetSimulateIOErrors(boolean simulateIOErrors)

public FakeExtractorInput.BuildersetSimulatePartialReads(boolean simulatePartialReads)

public FakeExtractorInput.BuildersetSimulateUnknownLength(boolean simulateUnknownLength)

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

Constructors

public Builder()

Methods

public FakeExtractorInput.Builder setData(byte[] data[])

public FakeExtractorInput.Builder setSimulateUnknownLength(boolean simulateUnknownLength)

public FakeExtractorInput.Builder setSimulatePartialReads(boolean simulatePartialReads)

public FakeExtractorInput.Builder setSimulateIOErrors(boolean simulateIOErrors)

public FakeExtractorInput build()