FirebaseRemoteConfigValue

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
expect abstract val source: Int

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

actual abstract val source: Int
actual abstract val source: Int

Functions

Link copied to clipboard
actual abstract fun asBoolean(): Boolean
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
actual abstract fun asBoolean(): Boolean
Link copied to clipboard
actual abstract fun asByteArray(): ByteArray
expect abstract fun asByteArray(): ByteArray

The value as UTF-8 bytes.

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

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

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

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

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

The value as a string.

actual abstract fun asString(): String
actual abstract fun asString(): String