Preferences

interface Preferences

Provides ability to interact with storage used by lenses to store user specific data such as game or on-boarding state, options etc.

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun clear(callback: Consumer<Boolean> = Consumer {})

Clears all persistent data stored by lenses. After this operation completes, lenses can be re-applied with no state restored.

Inheritors

Link copied to clipboard