MergingMediaSource.IllegalMergeException


class MergingMediaSource.IllegalMergeException : IOException


Thrown when a MergingMediaSource cannot merge its sources.

Summary

Nested types

@Documented
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = TYPE_USE)
@IntDef(value = )
annotation MergingMediaSource.IllegalMergeException.Reason

The reason the merge failed.

Constants

const Int

The sources have different period counts.

Public properties

Int

The reason the merge failed.

Constants

REASON_PERIOD_COUNT_MISMATCH

const val REASON_PERIOD_COUNT_MISMATCH = 0: Int

The sources have different period counts.

Public constructors

IllegalMergeException

IllegalMergeException(
    @MergingMediaSource.IllegalMergeException.Reason reason: Int
)
Parameters
@MergingMediaSource.IllegalMergeException.Reason reason: Int

The reason the merge failed.

Public properties

reason

@MergingMediaSource.IllegalMergeException.Reason
val reasonInt

The reason the merge failed.