public final class

LoadErrorHandlingPolicy.LoadErrorInfo

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.upstream.LoadErrorHandlingPolicy.LoadErrorInfo

Overview

Holds information about a load task error.

Summary

Fields
public final interrorCount

The number of errors this load task has encountered, including this one.

public final java.io.IOExceptionexception

The exception associated to the load error.

public final LoadEventInfoloadEventInfo

The LoadEventInfo associated with the load that encountered an error.

public final MediaLoadDatamediaLoadData

MediaLoadData associated with the load that encountered an error.

Constructors
publicLoadErrorInfo(LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, java.io.IOException exception, int errorCount)

Creates an instance with the given values.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final LoadEventInfo loadEventInfo

The LoadEventInfo associated with the load that encountered an error.

public final MediaLoadData mediaLoadData

MediaLoadData associated with the load that encountered an error.

public final java.io.IOException exception

The exception associated to the load error.

public final int errorCount

The number of errors this load task has encountered, including this one.

Constructors

public LoadErrorInfo(LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, java.io.IOException exception, int errorCount)

Creates an instance with the given values.