Serializablepublic static final class ClippingMediaSource.IllegalClippingException extends IOException
ClippingMediaSource cannot clip its wrapped source.| Modifier and Type | Class | Description |
|---|---|---|
static interface |
ClippingMediaSource.IllegalClippingException.Reason |
The reason clipping failed.
|
| Modifier and Type | Field | Description |
|---|---|---|
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.
|
| Constructor | Description |
|---|---|
IllegalClippingException(int reason) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int REASON_INVALID_PERIOD_COUNT
public static final int REASON_NOT_SEEKABLE_TO_START
public static final int REASON_START_EXCEEDS_END
@Reason public final int reason
public IllegalClippingException(@Reason int reason)
reason - The reason clipping failed.