loadDatabaseBundle

open fun loadDatabaseBundle(assetPath: String, revision: Long, major: Int, minor: Int)

Loads the a database from a file located int the assets folder.

If the loaded database is older then the one currently used, nothing will happen.

Make sure to provide the correct revision, major or minor, or else the database may be copied even if its older then the one currently used.


open fun loadDatabaseBundle(inputStream: InputStream, revision: Long, major: Int, minor: Int)

Loads the a database from an InputStream.

If the loaded database is older then the one currently used, nothing will happen.

Make sure to provide the correct revision, major or minor, or else the database may be copied even if its older then the one currently used.