public static final class ClippingMediaSource.IllegalClippingException
extends java.io.IOException
ClippingMediaSource cannot clip its wrapped source.| Modifier and Type | Class and Description |
|---|---|
static interface |
ClippingMediaSource.IllegalClippingException.Reason
The reason the clipping failed.
|
| Modifier and Type | Field and 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_PERIOD_OFFSET_IN_WINDOW
The wrapped source period doesn't start at the beginning of the corresponding window.
|
static int |
REASON_START_EXCEEDS_END
The wrapped source ends before the specified clipping start position.
|
| Constructor and Description |
|---|
IllegalClippingException(int reason) |
public static final int REASON_INVALID_PERIOD_COUNT
public static final int REASON_PERIOD_OFFSET_IN_WINDOW
public static final int REASON_NOT_SEEKABLE_TO_START
public static final int REASON_START_EXCEEDS_END
public final int reason