public final class

MergingMediaSource.IllegalMergeException

extends java.io.IOException

 java.lang.Object

↳java.lang.Throwable

↳java.lang.Exception

↳java.io.IOException

↳androidx.media3.exoplayer.source.MergingMediaSource.IllegalMergeException

Overview

Thrown when a MergingMediaSource cannot merge its sources.

Summary

Fields
public final intreason

The reason the merge failed.

public static final intREASON_PERIOD_COUNT_MISMATCH

The sources have different period counts.

Constructors
publicIllegalMergeException(int reason)

Methods
from java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public static final int REASON_PERIOD_COUNT_MISMATCH

The sources have different period counts.

public final int reason

The reason the merge failed.

Constructors

public IllegalMergeException(int reason)

Parameters:

reason: The reason the merge failed.