FunctionsKt

public final class FunctionsKt


Summary

Public fields

final @NonNull FirebaseFunctions

Returns the FirebaseFunctions instance of the default FirebaseApp.

Public methods

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

Returns the FirebaseFunctions instance of a given FirebaseApp.

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

Returns the FirebaseFunctions instance of a given regionOrCustomDomain.

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

Returns the FirebaseFunctions instance of a given FirebaseApp and regionOrCustomDomain.

static final @NonNull HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given name and call options.

static final @NonNull HttpsCallableReference

Returns a reference to the Callable HTTPS trigger with the given URL and call options.

Public fields

functions

public final @NonNull FirebaseFunctions functions

Returns the FirebaseFunctions instance of the default FirebaseApp.

Public methods

FunctionsKt.functions

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

Returns the FirebaseFunctions instance of a given FirebaseApp.

FunctionsKt.functions

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

Returns the FirebaseFunctions instance of a given regionOrCustomDomain.

FunctionsKt.functions

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

Returns the FirebaseFunctions instance of a given FirebaseApp and regionOrCustomDomain.

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.

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.