android-components / mozilla.components.service.fretboard / ExperimentStorage

# ExperimentStorage

`interface ExperimentStorage` (source)

Represents a location where experiments are stored locally on the device

### Functions

retrieve | `abstract fun retrieve(): ExperimentsSnapshot` Reads experiments from disk
save | `abstract fun save(snapshot: ExperimentsSnapshot): Unit` Stores the given experiments to disk

### Inheritors

FlatFileExperimentStorage | `class FlatFileExperimentStorage : ExperimentStorage` Class which uses a flat JSON file as an experiment storage mechanism