ExoDatabaseProvider


@UnstableApi
class ExoDatabaseProvider : StandaloneDatabaseProvider


Summary

Public constructors

Inherited Constants

From androidx.media3.database.DatabaseProvider
const String!
TABLE_PREFIX = "ExoPlayer"

Prefix for tables that can be read and written by media library components.

From androidx.media3.database.StandaloneDatabaseProvider
const String!
DATABASE_NAME = "exoplayer_internal.db"

The file name used for the standalone database.

Inherited functions

From androidx.media3.database.DatabaseProvider
abstract SQLiteDatabase!

Creates and/or opens a database.

abstract SQLiteDatabase!

Creates and/or opens a database that will be used for reading and writing.

From android.database.sqlite.SQLiteOpenHelper
synchronized Unit
String!
SQLiteDatabase!
SQLiteDatabase!
Unit
abstract Unit
Unit
onDowngrade(db: SQLiteDatabase!, oldVersion: Int, newVersion: Int)
Unit
abstract Unit
onUpgrade(p: SQLiteDatabase!, p1: Int, p2: Int)
Unit
setIdleConnectionTimeout(idleConnectionTimeoutMs: Long)

This function is deprecated.

Unit
setLookasideConfig(slotSize: Int, slotCount: Int)
Unit
Unit
From androidx.media3.database.StandaloneDatabaseProvider
Unit
Unit
onDowngrade(db: SQLiteDatabase!, oldVersion: Int, newVersion: Int)
Unit
onUpgrade(db: SQLiteDatabase!, oldVersion: Int, newVersion: Int)

Public constructors

ExoDatabaseProvider

ExoDatabaseProvider(context: Context!)