com.google.firebase.functions.ktx
Extension functions summary
FirebaseFunctions |
Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String) Accessing this object for Kotlin apps has changed; see the migration guide. |
FirebaseFunctions |
Firebase.functions(app: FirebaseApp) Accessing this object for Kotlin apps has changed; see the migration guide. |
FirebaseFunctions |
Accessing this object for Kotlin apps has changed; see the migration guide. |
HttpsCallableReference |
FirebaseFunctions. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
HttpsCallableReference |
FirebaseFunctions. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Extension properties summary
FirebaseFunctions |
Accessing this object for Kotlin apps has changed; see the migration guide. |
Extension functions
functions
fun Firebase.functions(app: FirebaseApp, regionOrCustomDomain: String): FirebaseFunctions
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseFunctions
instance of a given FirebaseApp
and regionOrCustomDomain
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
functions
fun Firebase.functions(app: FirebaseApp): FirebaseFunctions
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseFunctions
instance of a given FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
functions
fun Firebase.functions(regionOrCustomDomain: String): FirebaseFunctions
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseFunctions
instance of a given regionOrCustomDomain
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
getHttpsCallable
fun FirebaseFunctions.getHttpsCallable(name: String, init: HttpsCallableOptions.Builder.() -> Unit): HttpsCallableReference
Returns a reference to the Callable HTTPS trigger with the given name and call options.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
getHttpsCallableFromUrl
fun FirebaseFunctions.getHttpsCallableFromUrl(url: URL, init: HttpsCallableOptions.Builder.() -> Unit): HttpsCallableReference
Returns a reference to the Callable HTTPS trigger with the given URL and call options.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
Extension properties
functions
val Firebase.functions: FirebaseFunctions
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseFunctions
instance of the default FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.