Package-level declarations

Types

Link copied to clipboard
@RequiresOptIn(message = "This API is experimental and not covered by PowerSync semver releases. It can be changed at any time")
annotation class ExperimentalPowerSyncAPI
Link copied to clipboard
Link copied to clipboard

A PowerSync managed database.

Link copied to clipboard
class PowerSyncException(message: String, cause: Throwable?) : Exception
Link copied to clipboard
@RequiresOptIn(message = "This API should not be used outside of PowerSync SDK packages")
annotation class PowerSyncInternal

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The default path to use for databases on Apple platforms.

Link copied to clipboard
fun extractLib(reference: KClass<*>, fileName: String): String
Link copied to clipboard
fun PowerSyncDatabase(factory: PersistentConnectionFactory, schema: Schema, dbFilename: String = DEFAULT_DB_FILENAME, scope: CoroutineScope = GlobalScope, logger: Logger? = null, dbDirectory: String? = null): PowerSyncDatabase

Use this to create a PowerSyncDatabase

Link copied to clipboard

Resolves a path to the loadable PowerSync core extension library.