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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-functions-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.