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

ExperimentPayload

class ExperimentPayload (source)

Class which represents an experiment associated data

Constructors

<init>

ExperimentPayload()

Class which represents an experiment associated data

Functions

get

fun get(key: String): Any?

Gets a value from the payload

getBooleanList

fun getBooleanList(key: String): List<Boolean>?

Gets a value from the payload as a list of Boolean

getDoubleList

fun getDoubleList(key: String): List<Double>?

Gets a value from the payload as a list of Double

getIntList

fun getIntList(key: String): List<Int>?

Gets a value from the payload as a list of Int

getKeys

fun getKeys(): Set<String>

Gets all the payload keys

getLongList

fun getLongList(key: String): List<Long>?

Gets a value from the payload as a list of Long

getStringList

fun getStringList(key: String): List<String>?

Gets a value from the payload as a list of String

put

fun put(key: String, value: Any): Unit

Puts a value into the payload