Preferences Builder
Builder of the Preferences instance provided by Preferences(sharedPreferences) { ... }
factory function.
Properties
Specifies how Double fields will be encoded. DoubleRepresentation.LONG_BITS by default
Specifies whether objects, empty classes and empty collections will be serialized by encoding a marker at the position.
Specifies whether Sets of String, Char and Enum will be encoded with putStringSet or not.
Module with contextual and polymorphic serializers to be used in the resulting Preferences instance.
Specifies the SharedPreferences where everything will be encoded to and decoded from.
Specifies the names of the SerialDescriptor which are used to detect Set
Specifies the usage of synchronize blocks over PreferencesBuilder.sharedPreferences while serialization.