ContentDataSource.ContentDataSourceException


class ContentDataSource.ContentDataSourceException : DataSourceException


Thrown when an IOException is encountered reading from a content URI.

Summary

Public constructors

This function is deprecated.

Use ContentDataSourceException.

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

ContentDataSourceException

ContentDataSourceException(cause: IOException!)

ContentDataSourceException

ContentDataSourceException(
    cause: IOException?,
    @PlaybackException.ErrorCode errorCode: Int
)

Creates a new instance.