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


data class ExperimentsSnapshot (source)

Represents an experiment sync result


Name Summary
<init> ExperimentsSnapshot(experiments: List<Experiment>, lastModified: Long?)
Represents an experiment sync result


Name Summary
experiments val experiments: List<Experiment>
Downloaded list of experiments
lastModified val lastModified: Long?
Last time experiments were modified on the server, as a UNIX timestamp

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.