IosStorage
class IosStorage(storageFileUrl: ERROR CLASS: Symbol not found for NSURL, excludeFromBackup: Boolean = true, busyTimeout: ERROR CLASS: Symbol not found for Duration = 5.seconds, clock: ERROR CLASS: Symbol not found for Clock = Clock.System) : SqliteStorage
Implementation of Storage for iOS platform.
Parameters
storageFileUrl
a URL with the path to the database file.
excludeFromBackup
if true, the database file will be excluded from backup.
busyTimeout
timeout to wait for SQLite database locks before failing. Defaults to 5 seconds.
clock
clock to use for timestamps and expiration. Defaults to Clock.System.
Constructors
Link copied to clipboard
constructor(storageFileUrl: ERROR CLASS: Symbol not found for NSURL, excludeFromBackup: Boolean = true, busyTimeout: ERROR CLASS: Symbol not found for Duration = 5.seconds, clock: ERROR CLASS: Symbol not found for Clock = Clock.System)
Constructor for backwards compatibility with Swift and Objective-C callers who do not specify busyTimeout or clock.
constructor(storageFileUrl: ERROR CLASS: Symbol not found for NSURL, excludeFromBackup: Boolean, busyTimeoutMs: Long)
Constructor allowing Swift and Objective-C callers to specify a busy timeout in milliseconds.