docs/doc/reference/com/google/android/exoplayer2/source/MergingMediaSource.IllegalMergeException.html
Package com.google.android.exoplayer2.source
All Implemented Interfaces:SerializableEnclosing class:MergingMediaSource
public static final classMergingMediaSource.IllegalMergeExceptionextends[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Thrown when a MergingMediaSource cannot merge its sources.
See Also:Serialized Form
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | MergingMediaSource.IllegalMergeException.Reason |
The reason the merge failed.
|
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| @com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException.Reason int | reason |
The reason the merge failed.
|
| static int | REASON_PERIOD_COUNT_MISMATCH |
The sources have different period counts.
|
Constructors | Constructor | Description |
| --- | --- |
| IllegalMergeException(@com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException.Reason int reason) | |
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
public static final int REASON_PERIOD_COUNT_MISMATCH
The sources have different period counts. See Also:Constant Field Values
-
public final @com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException.Reason int reason
The reason the merge failed.
-
public IllegalMergeException(@com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException.Reason int reason)
Parameters:reason - The reason the merge failed.