PreloadException


@UnstableApi
class PreloadException : Exception


Thrown when a non-recoverable preload failure occurs.

Summary

Public constructors

PreloadException(mediaItem: MediaItem!, message: String?, cause: Throwable?)

Creates an instance.

Public functions

Boolean

Returns whether the error data associated to this exception equals the error data associated to other.

Public properties

MediaItem!

The MediaItem that this instance is associated with.

Public constructors

PreloadException

PreloadException(mediaItem: MediaItem!, message: String?, cause: Throwable?)

Creates an instance.

Parameters
mediaItem: MediaItem!

The MediaItem that this instance is associated with.

message: String?

See getMessage.

cause: Throwable?

See getCause.

Public functions

errorInfoEquals

fun errorInfoEquals(other: PreloadException?): Boolean

Returns whether the error data associated to this exception equals the error data associated to other.

Note that this method does not compare the exceptions' stack traces.

Public properties

mediaItem

val mediaItemMediaItem!

The MediaItem that this instance is associated with.