Package com.inmobi.media.storage.db
Class InMobiDatabase.Builder
-
- All Implemented Interfaces:
public final class InMobiDatabase.BuilderBuilder class for constructing an instance of InMobiDatabase.
-
-
Constructor Summary
Constructors Constructor Description InMobiDatabase.Builder(Context context, String name, Integer version)
-
Method Summary
Modifier and Type Method Description final <Error class: unknown class>addTableInfo(String tableName, String tableSchema)Add a table to the database by passing the table name and schema. final <Error class: unknown class>setExecutor(Executor transactionExecutor)Set the executor for the database, else by default the queries will run on the caller thread. final InMobiDatabasebuild()Builds and initializes the InMobiDatabase instance with the provided configuration. -
-
Method Detail
-
addTableInfo
final <Error class: unknown class> addTableInfo(String tableName, String tableSchema)
Add a table to the database by passing the table name and schema.
-
setExecutor
final <Error class: unknown class> setExecutor(Executor transactionExecutor)
Set the executor for the database, else by default the queries will run on the caller thread.
-
build
final InMobiDatabase build()
Builds and initializes the InMobiDatabase instance with the provided configuration.
- Returns:
The initialized InMobiDatabase instance.
-
-
-
-