RemoteConfigVariant
定義
class RemoteConfigVariant {
val experimentId: String
val id: String
fun get(key: String): String?
fun getAsString(key: String): String?
fun getAsBoolean(key: String): Boolean?
fun getAsInt(key: String): Int?
fun getAsFloat(key: String): Float?
fun getAsDouble(key: String): Double?
@Composable
fun GetAsEmbedding(
key: String,
arguments: Any? = null,
onEvent: ((event: Event) -> Unit)? = null,
content: (@Composable (state: EmbeddingLoadingState) -> Unit)? = null
)
}
class RemoteConfig {
suspend fun fetch(): Result<RemoteConfigVariant>
}基本取得
Embedding として取得
suspend API で取得
Last updated