RawResourceDataSource.RawResourceDataSourceException


class RawResourceDataSource.RawResourceDataSourceException : DataSourceException


Thrown when an IOException is encountered reading from a raw resource.

Summary

Public constructors

This function is deprecated.

Use RawResourceDataSourceException.

This function is deprecated.

Use RawResourceDataSourceException.

RawResourceDataSourceException(
    message: String?,
    cause: Throwable?,
    @PlaybackException.ErrorCode errorCode: Int
)

Creates a new instance.

Inherited properties

From androidx.media3.datasource.DataSourceException
Int

The reason of this DataSourceException, should be one of the ERROR_CODE_IO_* in PlaybackException.ErrorCode.

Public constructors

RawResourceDataSourceException

RawResourceDataSourceException(cause: Throwable!)

RawResourceDataSourceException

RawResourceDataSourceException(message: String!)

RawResourceDataSourceException

RawResourceDataSourceException(
    message: String?,
    cause: Throwable?,
    @PlaybackException.ErrorCode errorCode: Int
)

Creates a new instance.