Merge pull request #7426 from element-hq/feature/bma/documentation

Add KDoc to all the interfaces of the api modules
This commit is contained in:
Benoit Marty
2026-08-14 13:46:28 +02:00
committed by GitHub
187 changed files with 2750 additions and 37 deletions
@@ -10,6 +10,9 @@ package io.element.android.libraries.featureflag.api
import io.element.android.libraries.core.meta.BuildMeta
/**
* Describes one feature flag: how it is identified, how it is presented in the developer options, and what it defaults to.
*/
interface Feature {
/**
* Unique key to identify the feature.
@@ -11,6 +11,9 @@ package io.element.android.libraries.featureflag.api
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
/**
* Reads and, where a mutable provider is registered, changes the state of the feature flags.
*/
interface FeatureFlagService {
/**
* @param feature the feature to check for