SyncOptions
class SyncOptions(val newClientImplementation: Boolean = true, val userAgent: String = userAgent(), val clientConfiguration: SyncClientConfiguration = SyncClientConfiguration.ExtendedConfig {}, val includeDefaultStreams: Boolean = true, val checkpointMode: CheckpointMode = CheckpointMode.Legacy)(source)
Options for PowerSyncDatabase.connect to customize the connection mechanism.
Constructors
Link copied to clipboard
constructor(newClientImplementation: Boolean = true, userAgent: String = userAgent(), clientConfiguration: SyncClientConfiguration = SyncClientConfiguration.ExtendedConfig {}, includeDefaultStreams: Boolean = true, checkpointMode: CheckpointMode = CheckpointMode.Legacy)
Properties
Link copied to clipboard
The mode used to request checkpoint requests from the PowerSync service.
Link copied to clipboard
Allows configuring the HttpClient used for connecting to the PowerSync service.
Link copied to clipboard
Whether streams that have been defined with auto_subscribe: true should be synced even when they don't have an explicit subscription.
Link copied to clipboard
Enables the new client implementation written in Rust.