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

ExperimentsSnapshot

data class ExperimentsSnapshot (source)

Represents an experiment sync result

Constructors

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

Properties

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.