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) : RuntimeException

Exception resulting from a call to an SQLite API that failed, returning a non-successful result code.

Link copied to clipboard
interface SQLiteStatic

Exposes the SQLite API that does not require initialization.

Functions

Link copied to clipboard

Returns a ByteArray of given size 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.