SyncOptions

class SyncOptions(val newClientImplementation: Boolean = false, val method: ConnectionMethod = ConnectionMethod.Http, val userAgent: String = userAgent())

Experimental options that can be passed to PowerSyncDatabase.connect to specify an experimental connection mechanism.

The new connection implementation is more efficient and we expect it to become the default in the future. At the moment, the implementation is not covered by the stability guarantees we offer for the rest of the SDK though.

Constructors

Link copied to clipboard
constructor(newClientImplementation: Boolean = false, method: ConnectionMethod = ConnectionMethod.Http, userAgent: String = userAgent())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The user agent to use for requests made to the PowerSync service.