Package-level declarations

Types

Link copied to clipboard
actual class FirebaseFunctions
actual class FirebaseFunctions
expect class FirebaseFunctions

The entry point for Cloud Functions for Firebase, mirroring com.google.firebase.functions.FirebaseFunctions from the Firebase Android SDK: creates references to callable HTTPS functions.

actual class FirebaseFunctions
actual class FirebaseFunctions
actual class FirebaseFunctions
Link copied to clipboard

The exception a call through an HttpsCallableReference fails with, mirroring com.google.firebase.functions.FirebaseFunctionsException from the Firebase Android SDK. Plain common code: on Android and the JVM it is a header stub for the SDK's own class.

Link copied to clipboard

Options for calling a callable HTTPS trigger, mirroring com.google.firebase.functions.HttpsCallableOptions from the Firebase Android SDK; created with a Builder. Plain common code: on Android and the JVM it is a header stub for the SDK's own class.

Link copied to clipboard

A reference to a callable HTTPS trigger in Cloud Functions, mirroring com.google.firebase.functions.HttpsCallableReference from the Firebase Android SDK. Obtained from FirebaseFunctions.getHttpsCallable or getHttpsCallableFromUrl.

The JS SDK fixes a callable's options, including its timeout, when the callable is created, so the reference keeps what it needs to create one and js is created on demand with the current timeout.

The JS SDK fixes a callable's options, including its timeout, when the callable is created, so the reference keeps what it needs to create one and js is created on demand with the current timeout.

Link copied to clipboard
actual class HttpsCallableResult
actual class HttpsCallableResult
expect class HttpsCallableResult

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

actual class HttpsCallableResult
actual class HttpsCallableResult
actual class HttpsCallableResult

Properties

Link copied to clipboard
val <Error class: unknown class>.functions: FirebaseFunctions

The FirebaseFunctions instance of the default FirebaseApp; the Android SDK's Firebase.functions.

Functions

Link copied to clipboard
fun <Error class: unknown class>.functions(app: <Error class: unknown class>): FirebaseFunctions

The FirebaseFunctions instance of app.

fun <Error class: unknown class>.functions(regionOrCustomDomain: String): FirebaseFunctions

The FirebaseFunctions instance of the default FirebaseApp for regionOrCustomDomain; see FirebaseFunctions.getInstance.

fun <Error class: unknown class>.functions(app: <Error class: unknown class>, regionOrCustomDomain: String): FirebaseFunctions
Link copied to clipboard

A reference to the callable HTTPS trigger name, with the HttpsCallableOptions built by init.

Link copied to clipboard

A reference to the callable HTTPS trigger at url, with the HttpsCallableOptions built by init.

Link copied to clipboard
actual fun HttpsCallableReference.setTimeout(timeout: <Error class: unknown class>)
expect fun HttpsCallableReference.setTimeout(timeout: <Error class: unknown class>)

Sets the timeout of the calls made through this reference.

actual fun HttpsCallableReference.setTimeout(timeout: <Error class: unknown class>)
actual fun HttpsCallableReference.setTimeout(timeout: <Error class: unknown class>)
Link copied to clipboard
actual fun HttpsCallableReference.withTimeout(timeout: <Error class: unknown class>): HttpsCallableReference
expect fun HttpsCallableReference.withTimeout(timeout: <Error class: unknown class>): HttpsCallableReference

A copy of this reference whose calls use the given timeout.

actual fun HttpsCallableReference.withTimeout(timeout: <Error class: unknown class>): HttpsCallableReference
actual fun HttpsCallableReference.withTimeout(timeout: <Error class: unknown class>): HttpsCallableReference