public class

ExtractorAsserts.SimulationConfig

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.ExtractorAsserts.SimulationConfig

Overview

A config of different environments to simulate and extractor behaviours to test.

Summary

Fields
public final booleansimulateIOErrors

Whether to simulate IO errors.

public final booleansimulatePartialReads

Whether to simulate partial reads.

public final booleansimulateUnknownLength

Whether to simulate unknown input length.

public final booleansniffFirst

Whether to sniff the data by calling Extractor.sniff(ExtractorInput) prior to consuming it.

Methods
public java.lang.StringtoString()

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

Fields

public final boolean sniffFirst

Whether to sniff the data by calling Extractor.sniff(ExtractorInput) prior to consuming it.

public final boolean simulateIOErrors

Whether to simulate IO errors.

public final boolean simulateUnknownLength

Whether to simulate unknown input length.

public final boolean simulatePartialReads

Whether to simulate partial reads.

Methods

public java.lang.String toString()