Package-level declarations

Types

Link copied to clipboard
interface SQLite : AutoCloseable

SQLite entry point.

Link copied to clipboard
open class SQLiteException(val result: SqliteResultCode.Failure, val message: String, cause: Throwable? = null) : RuntimeException

Exception thrown when a call to an SQLite API fails with a non-successful result code.

Link copied to clipboard
interface SQLiteStatic

SQLite API available without initializing a SQLite instance first.

Functions

Link copied to clipboard

Returns a new ByteArray of size bytes filled with random bytes.

Link copied to clipboard
fun throwSQLiteException(message: String, result: SqliteResultCode.Failure = SqliteResultCode.ERROR): Nothing

Throws an SQLiteException with supplied message and result which is default to SqliteResultCode.ERROR.