docs/doc/reference/com/google/android/exoplayer2/source/ClippingMediaSource.IllegalClippingException.html
Package com.google.android.exoplayer2.source
All Implemented Interfaces:SerializableEnclosing class:ClippingMediaSource
public static final classClippingMediaSource.IllegalClippingExceptionextends[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Thrown when a ClippingMediaSource cannot clip its wrapped source.
See Also:Serialized Form
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | ClippingMediaSource.IllegalClippingException.Reason |
The reason clipping failed.
|
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| @com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.Reason int | reason |
The reason clipping failed.
|
| static int | REASON_INVALID_PERIOD_COUNT |
The wrapped source doesn't consist of a single period.
|
| static int | REASON_NOT_SEEKABLE_TO_START |
The wrapped source is not seekable and a non-zero clipping start position was specified.
|
| static int | REASON_START_EXCEEDS_END |
The wrapped source ends before the specified clipping start position.
|
Constructors | Constructor | Description |
| --- | --- |
| IllegalClippingException(@com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.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_INVALID_PERIOD_COUNT
The wrapped source doesn't consist of a single period. See Also:Constant Field Values
-
public static final int REASON_NOT_SEEKABLE_TO_START
The wrapped source is not seekable and a non-zero clipping start position was specified. See Also:Constant Field Values
-
public static final int REASON_START_EXCEEDS_END
The wrapped source ends before the specified clipping start position. See Also:Constant Field Values
-
public final @com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.Reason int reason
The reason clipping failed.
-
public IllegalClippingException(@com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.Reason int reason)
Parameters:reason - The reason clipping failed.