ModelDownloaderKt

public final class ModelDownloaderKt


Summary

Public fields

final @NonNull FirebaseModelDownloader

This field is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

Public methods

static final File

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final long

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final long

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final @NonNull String

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final @NonNull String

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final @NonNull CustomModelDownloadConditions

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

static final @NonNull FirebaseModelDownloader

This method is deprecated. Firebase ML is deprecated and will be shut down on June 15, 2027.

Public fields

modelDownloader

public final @NonNull FirebaseModelDownloader modelDownloader

Returns the FirebaseModelDownloader instance of the default FirebaseApp.

Public methods

ModelDownloaderKt.component1

public static final File ModelDownloaderKt.component1(@NonNull CustomModel receiver)

ModelDownloaderKt.component2

public static final long ModelDownloaderKt.component2(@NonNull CustomModel receiver)

ModelDownloaderKt.component3

public static final long ModelDownloaderKt.component3(@NonNull CustomModel receiver)

ModelDownloaderKt.component4

public static final @NonNull String ModelDownloaderKt.component4(@NonNull CustomModel receiver)

ModelDownloaderKt.component5

public static final @NonNull String ModelDownloaderKt.component5(@NonNull CustomModel receiver)

customModelDownloadConditions

public static final @NonNull CustomModelDownloadConditions customModelDownloadConditions(
    @ExtensionFunctionType @NonNull Function1<@NonNull CustomModelDownloadConditions.BuilderUnit> init
)

Returns a CustomModelDownloadConditions initialized using the init function.

ModelDownloaderKt.modelDownloader

public static final @NonNull FirebaseModelDownloader ModelDownloaderKt.modelDownloader(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

Returns the FirebaseModelDownloader instance of a given FirebaseApp.