HttpsCallableResult

The result of a call through an HttpsCallableReference, mirroring com.google.firebase.functions.HttpsCallableResult from the Firebase Android SDK.

The result of a call through an HttpsCallableReference, mirroring com.google.firebase.functions.HttpsCallableResult from the Firebase Android SDK.

Properties

Link copied to clipboard
actual val data: Any?

The data returned by the function, deserialized from JSON: null, a String, a number, a Boolean, a List or a Map on Android, the JVM and Apple platforms; on JS the JS SDK's own value (a primitive, array or object).

actual val data: Any?

The iOS SDK keeps a JSON null result as NSNull; it is null here, as on the other platforms.

expect val data: Any?

The data returned by the function, deserialized from JSON: null, a String, a number, a Boolean, a List or a Map on Android, the JVM and Apple platforms; on JS the JS SDK's own value (a primitive, array or object).

actual val data: Any?

The data returned by the function, deserialized from JSON: null, a String, a number, a Boolean, a List or a Map on Android, the JVM and Apple platforms; on JS the JS SDK's own value (a primitive, array or object).

actual val data: Any?

The data returned by the function, deserialized from JSON: null, a String, a number, a Boolean, a List or a Map on Android, the JVM and Apple platforms; on JS the JS SDK's own value (a primitive, array or object).

Link copied to clipboard
val ios: FIRHTTPSCallableResult

The underlying Firebase iOS SDK object.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object. data is the JS value with its primitives converted, as the Kotlin-first layer's decoders take it on this target.

Functions

Link copied to clipboard
inline fun <T> HttpsCallableResult.data(): T

The CompatHttpsCallableResult.data deserialized as T with kotlinx.serialization.

inline fun <T> HttpsCallableResult.data(strategy: DeserializationStrategy<T>, buildSettings: DecodeSettings.Builder.() -> Unit = {}): T
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String
open override fun toString(): String