Class ClippingMediaSource.IllegalClippingException

    • Field Detail

      • REASON_INVALID_PERIOD_COUNT

        public static final int REASON_INVALID_PERIOD_COUNT
        The wrapped source doesn't consist of a single period.
        See Also:
        Constant Field Values
      • REASON_NOT_SEEKABLE_TO_START

        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
      • REASON_START_EXCEEDS_END

        public static final int REASON_START_EXCEEDS_END
        The wrapped source ends before the specified clipping start position.
        See Also:
        Constant Field Values
      • reason

        public final @com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.Reason int reason
        The reason clipping failed.
    • Constructor Detail

      • IllegalClippingException

        public IllegalClippingException​(@com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException.Reason int reason)
        Parameters:
        reason - The reason clipping failed.