FunctionsKt

public final class FunctionsKt


Summary

Public fields

final @NonNull FirebaseFunctions

Accessing this object for Kotlin apps has changed; see the migration guide.

Public methods

static final @NonNull FirebaseFunctions
FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

Accessing this object for Kotlin apps has changed; see the migration guide.

static final @NonNull FirebaseFunctions
FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull String regionOrCustomDomain
)

Accessing this object for Kotlin apps has changed; see the migration guide.

static final @NonNull FirebaseFunctions
FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app,
    @NonNull String regionOrCustomDomain
)

Accessing this object for Kotlin apps has changed; see the migration guide.

static final @NonNull HttpsCallableReference

This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

static final @NonNull HttpsCallableReference

This method is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Public fields

functions

public final @NonNull FirebaseFunctions functions

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.

Public methods

FunctionsKt.functions

public static final @NonNull FirebaseFunctions FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

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.

FunctionsKt.functions

public static final @NonNull FirebaseFunctions FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull String regionOrCustomDomain
)

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.

FunctionsKt.functions

public static final @NonNull FirebaseFunctions FunctionsKt.functions(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app,
    @NonNull String regionOrCustomDomain
)

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.

FunctionsKt.getHttpsCallable

public static final @NonNull HttpsCallableReference FunctionsKt.getHttpsCallable(
    @NonNull FirebaseFunctions receiver,
    @NonNull String name,
    @ExtensionFunctionType @NonNull Function1<@NonNull HttpsCallableOptions.BuilderUnit> init
)

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.

FunctionsKt.getHttpsCallableFromUrl

public static final @NonNull HttpsCallableReference FunctionsKt.getHttpsCallableFromUrl(
    @NonNull FirebaseFunctions receiver,
    @NonNull URL url,
    @ExtensionFunctionType @NonNull Function1<@NonNull HttpsCallableOptions.BuilderUnit> init
)

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.