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.

Not mirrored: useFunctionsEmulator (deprecated in the Android SDK, use useEmulator).

Types

Link copied to clipboard
actual object Companion
actual object Companion
expect object Companion
actual object Companion
actual object Companion
actual object Companion

Properties

Link copied to clipboard
val ios: <Error class: unknown class>

The underlying Firebase iOS SDK object.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object.

Functions

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
actual fun getHttpsCallable(name: String, options: <Error class: unknown class>): HttpsCallableReference

Returns a reference to the callable HTTPS trigger with the given name.

Returns a reference to the callable HTTPS trigger with the given name, called with options.

actual fun getHttpsCallable(name: String, options: <Error class: unknown class>): HttpsCallableReference
actual fun getHttpsCallable(name: String, options: <Error class: unknown class>): HttpsCallableReference
Link copied to clipboard

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

Link copied to clipboard
actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>): HttpsCallableReference
actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>, options: <Error class: unknown class>): HttpsCallableReference
expect fun getHttpsCallableFromUrl(url: <Error class: unknown class>): HttpsCallableReference

Returns a reference to the callable HTTPS trigger at url, e.g. URL("https://us-central1-project.cloudfunctions.net/function"). Off the JVM java.net.URL is the stand-in from firebase-app, which carries the string it was created from.

expect fun getHttpsCallableFromUrl(url: <Error class: unknown class>, options: HttpsCallableOptions): HttpsCallableReference

Returns a reference to the callable HTTPS trigger at url, called with options.

actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>): HttpsCallableReference
actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>, options: <Error class: unknown class>): HttpsCallableReference
actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>): HttpsCallableReference
actual fun getHttpsCallableFromUrl(url: <Error class: unknown class>, options: <Error class: unknown class>): HttpsCallableReference
Link copied to clipboard

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

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
Link copied to clipboard
actual fun useEmulator(host: String, port: Int)
actual fun useEmulator(host: String, port: Int)
expect fun useEmulator(host: String, port: Int)

Modifies this instance to communicate with the Cloud Functions emulator at host:port. Call it before using the instance for any function call.

actual fun useEmulator(host: String, port: Int)
actual fun useEmulator(host: String, port: Int)
actual fun useEmulator(host: String, port: Int)