LoadErrorHandlingPolicy.LoadErrorInfo


class LoadErrorHandlingPolicy.LoadErrorInfo


Holds information about a load task error.

Summary

Public constructors

LoadErrorInfo(
    loadEventInfo: LoadEventInfo!,
    mediaLoadData: MediaLoadData!,
    exception: IOException!,
    errorCount: Int
)

Creates an instance with the given values.

Public properties

Int

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

IOException!

The exception associated to the load error.

LoadEventInfo!

The LoadEventInfo associated with the load that encountered an error.

MediaLoadData!

MediaLoadData associated with the load that encountered an error.

Public constructors

LoadErrorInfo

LoadErrorInfo(
    loadEventInfo: LoadEventInfo!,
    mediaLoadData: MediaLoadData!,
    exception: IOException!,
    errorCount: Int
)

Creates an instance with the given values.

Public properties

errorCount

val errorCountInt

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

exception

val exceptionIOException!

The exception associated to the load error.

loadEventInfo

val loadEventInfoLoadEventInfo!

The LoadEventInfo associated with the load that encountered an error.

mediaLoadData

val mediaLoadDataMediaLoadData!

MediaLoadData associated with the load that encountered an error.