Class InMobiDatabase.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 InMobiDatabase build() Builds and initializes the InMobiDatabase instance with the provided configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InMobiDatabase.Builder

        InMobiDatabase.Builder(Context context, String name, Integer version)
        Parameters:
        context - The application context.
        name - The name of the database.
        version - The version of the database.
    • 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.