ExoDatabaseProvider


@UnstableApi
public final class ExoDatabaseProvider extends StandaloneDatabaseProvider


Summary

Public constructors

Inherited Constants

From androidx.media3.database.DatabaseProvider
static final String
TABLE_PREFIX = "ExoPlayer"

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

From androidx.media3.database.StandaloneDatabaseProvider
static final String
DATABASE_NAME = "exoplayer_internal.db"

The file name used for the standalone database.

Inherited methods

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 void
String
SQLiteDatabase
SQLiteDatabase
void
abstract void
void
onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion)
void
abstract void
onUpgrade(SQLiteDatabase p, int p1, int p2)
void
setIdleConnectionTimeout(long idleConnectionTimeoutMs)

This method is deprecated.

void
setLookasideConfig(int slotSize, int slotCount)
void
void
setWriteAheadLoggingEnabled(boolean enabled)
From androidx.media3.database.StandaloneDatabaseProvider
void
void
onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion)
void
onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)

Public constructors

ExoDatabaseProvider

public ExoDatabaseProvider(Context context)