arch-android

//Android/br.com.arch.toolkit.android.storage/Storage/Settings

Settings

[android]
data object Settings : Storage

Configuration settings for the storage system.

Properties

Name Summary
complexDataParser [android]
var complexDataParser: ComplexDataParser?
The global ComplexDataParser used for serializing/deserializing complex objects.
keyValue [android]
var keyValue: KeyValueStorage
The default KeyValueStorage implementation.
threshold [android]
var threshold: Duration
The default threshold duration for br.com.arch.toolkit.android.util.ThresholdData.

Functions

Name Summary
setComplexDataParser [android]
fun setComplexDataParser(parser: ComplexDataParser): Storage.Settings
Sets the global ComplexDataParser.
setDefaultStorage [android]
fun setDefaultStorage(storage: KeyValueStorage): Storage.Settings
Sets the default KeyValueStorage.
setDefaultThreshold [android]
fun setDefaultThreshold(threshold: Duration): Storage.Settings
Sets the default threshold duration.