ModelDownloaderKt

public final class ModelDownloaderKt


Summary

Public fields

final @NonNull FirebaseModelDownloader

Returns the FirebaseModelDownloader instance of the default FirebaseApp.

Public methods

static final File
static final long
static final long
static final @NonNull String
static final @NonNull String
static final @NonNull CustomModelDownloadConditions

Returns a CustomModelDownloadConditions initialized using the init function.

static final @NonNull FirebaseModelDownloader

Returns the FirebaseModelDownloader instance of a given FirebaseApp.

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.