Package-level declarations

Types

Link copied to clipboard
@Serializable
data class DeviceInfo(val platform: String, val osVersion: String, val appVersion: String, val deviceModel: String? = null, val locale: String? = null)
Link copied to clipboard
sealed class ExportResult
Link copied to clipboard
Link copied to clipboard
data class ImportOptions(val validateAppId: Boolean = true, val validateChecksum: Boolean = true, val mergeMode: MergeMode = MergeMode.OVERWRITE)
Link copied to clipboard
sealed class ImportResult
Link copied to clipboard
Link copied to clipboard
class SettingsBackupManager<T>(dataStore: DataStore<Preferences>, schema: SettingsSchema<T>, appId: String, schemaVersion: Int, deviceInfoProvider: () -> DeviceInfo? = null)
Link copied to clipboard
@Serializable
data class SettingsBundle(val formatVersion: Int = CURRENT_FORMAT_VERSION, val schemaVersion: Int, val appId: String, val exportedAt: Long, val deviceInfo: DeviceInfo? = null, val settings: Map<String, String>, val checksum: String)
Link copied to clipboard
data class ValidationResult(val isValid: Boolean, val settingsCount: Int, val schemaVersion: Int, val exportedAt: Long, val issues: List<String>, val deviceInfo: DeviceInfo? = null)