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

ExperimentSource

interface ExperimentSource (source)

Represents a location where experiments are stored (Kinto, a JSON file on a server, etc)

Functions

getExperiments

abstract fun getExperiments(snapshot: ExperimentsSnapshot): ExperimentsSnapshot

Requests new experiments from the source, parsing the response into experiments

Inheritors

KintoExperimentSource

class KintoExperimentSource : ExperimentSource

Class responsible for fetching and parsing experiments from a Kinto server