Class LoadErrorHandlingPolicy.LoadErrorInfo
- java.lang.Object
-
- com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.LoadErrorInfo
-
- Enclosing interface:
- LoadErrorHandlingPolicy
public static final class LoadErrorHandlingPolicy.LoadErrorInfo extends Object
Holds information about a load task error.
-
-
Field Summary
Fields Modifier and Type Field Description interrorCountThe number of errors this load task has encountered, including this one.IOExceptionexceptionThe exception associated to the load error.LoadEventInfoloadEventInfoTheLoadEventInfoassociated with the load that encountered an error.MediaLoadDatamediaLoadDataMediaLoadDataassociated with the load that encountered an error.
-
Constructor Summary
Constructors Constructor Description LoadErrorInfo(LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException exception, int errorCount)Creates an instance with the given values.
-
-
-
Field Detail
-
loadEventInfo
public final LoadEventInfo loadEventInfo
TheLoadEventInfoassociated with the load that encountered an error.
-
mediaLoadData
public final MediaLoadData mediaLoadData
MediaLoadDataassociated with the load that encountered an error.
-
exception
public final IOException exception
The exception associated to the load error.
-
errorCount
public final int errorCount
The number of errors this load task has encountered, including this one.
-
-
Constructor Detail
-
LoadErrorInfo
public LoadErrorInfo(LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException exception, int errorCount)
Creates an instance with the given values.
-
-