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 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_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_NOT_SEEKABLE_TO_START
public static final int REASON_START_EXCEEDS_END
@ClippingMediaSource.IllegalClippingException.Reason public final int reason
public IllegalClippingException(@ClippingMediaSource.IllegalClippingException.Reason int reason)
reason - The reason clipping failed.