docs/doc/reference/com/google/android/exoplayer2/testutil/ExtractorAsserts.SimulationConfig.html
Package com.google.android.exoplayer2.testutil
Enclosing class:ExtractorAsserts
public static classExtractorAsserts.SimulationConfigextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
A config of different environments to simulate and extractor behaviours to test.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| boolean | simulateIOErrors |
Whether to simulate IO errors.
|
| boolean | simulatePartialReads |
Whether to simulate partial reads.
|
| boolean | simulateUnknownLength |
Whether to simulate unknown input length.
|
| boolean | sniffFirst |
Whether to sniff the data by calling Extractor.sniff(ExtractorInput) prior to consuming it.
|
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| String | toString() | |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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.
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()
Overrides:toString in class Object