mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
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:
+3
@@ -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.
|
||||
|
||||
+3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user