FeatureTogglesCallback

This interface exists to facilitate the implementation of ToggleImpl which contains logic inside an api module. This is an internal implementation to thread the need between toggles-api and toggles-impl and should NEVER be used publicly.

Functions

Link copied to clipboard
abstract fun matchesToggleTargets(targets: List<Any>): Boolean
Link copied to clipboard
abstract fun onCohortAssigned(experimentName: String, cohortName: String, enrollmentDate: String)

This method is called whenever a cohort is assigned to the FeatureToggle