commonMain.EvaluationBucket.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evaluation-core-jvm Show documentation
Show all versions of evaluation-core-jvm Show documentation
Core kotlin multiplatform package for Amplitude Experiment's evaluation.
package com.amplitude.experiment.evaluation
import kotlinx.serialization.Serializable
@Serializable
data class EvaluationBucket(
// How to select the prop from the context.
val selector: List,
// A random string used to salt the bucketing value prior to hashing.
val salt: String,
// Determines which variant, if any, should be returned based on the
// result of the hash functions.
val allocations: List,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy