FirebaseRemoteConfigValue

A config value, as the Android SDK's FirebaseRemoteConfigValue; the as* conversions follow the Android SDK.

A config value, as the Android SDK's FirebaseRemoteConfigValue; the as* conversions follow the Android SDK.

A config value, as the Android SDK's FirebaseRemoteConfigValue; the as* conversions follow the Android SDK.

Properties

Link copied to clipboard
actual abstract val source: Int

Where the value came from: one of the FirebaseRemoteConfig.VALUE_SOURCE_* constants.

expect abstract val source: Int

Where the value came from: one of the FirebaseRemoteConfig.VALUE_SOURCE_* constants.

actual abstract val source: Int

Where the value came from: one of the FirebaseRemoteConfig.VALUE_SOURCE_* constants.

Functions

Link copied to clipboard
actual abstract fun asBoolean(): Boolean

The value as a boolean (true, 1, yes, y and on are true); throws IllegalArgumentException otherwise.

expect abstract fun asBoolean(): Boolean

The value as a boolean (true, 1, yes, y and on are true); throws IllegalArgumentException otherwise.

actual abstract fun asBoolean(): Boolean

The value as a boolean (true, 1, yes, y and on are true); throws IllegalArgumentException otherwise.

Link copied to clipboard
actual abstract fun asByteArray(): ByteArray

The value as UTF-8 bytes.

expect abstract fun asByteArray(): ByteArray

The value as UTF-8 bytes.

actual abstract fun asByteArray(): ByteArray

The value as UTF-8 bytes.

Link copied to clipboard
actual abstract fun asDouble(): Double

The value as a double; throws IllegalArgumentException if it is not a number.

expect abstract fun asDouble(): Double

The value as a double; throws IllegalArgumentException if it is not a number.

actual abstract fun asDouble(): Double

The value as a double; throws IllegalArgumentException if it is not a number.

Link copied to clipboard
actual abstract fun asLong(): Long

The value as a long; throws IllegalArgumentException if it is not a number.

expect abstract fun asLong(): Long

The value as a long; throws IllegalArgumentException if it is not a number.

actual abstract fun asLong(): Long

The value as a long; throws IllegalArgumentException if it is not a number.

Link copied to clipboard
actual abstract fun asString(): String

The value as a string.

expect abstract fun asString(): String

The value as a string.

actual abstract fun asString(): String

The value as a string.