com.google.firebase.ml.modeldownloader

Classes

CustomModel

This class is deprecated.

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

CustomModelDownloadConditions

This class is deprecated.

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

CustomModelDownloadConditions.Builder

This class is deprecated.

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

FirebaseModelDownloader

This class is deprecated.

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

Exceptions

FirebaseMlException

This class is deprecated.

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

Annotations

FirebaseMlException.Code

This annotation is deprecated.

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

Enums

DownloadType

This enum is deprecated.

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

Top-level functions summary

CustomModelDownloadConditions

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

Extension functions summary

operator File?

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

operator Long

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

operator Long

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

operator String

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

operator String

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

FirebaseModelDownloader

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

Extension properties summary

FirebaseModelDownloader

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

Top-level functions

customModelDownloadConditions

fun customModelDownloadConditions(init: CustomModelDownloadConditions.Builder.() -> Unit): CustomModelDownloadConditions

Returns a CustomModelDownloadConditions initialized using the init function.

Extension functions

component1

operator fun CustomModel.component1(): File?

component2

operator fun CustomModel.component2(): Long

component3

operator fun CustomModel.component3(): Long

component4

operator fun CustomModel.component4(): String

component5

operator fun CustomModel.component5(): String

modelDownloader

fun Firebase.modelDownloader(app: FirebaseApp): FirebaseModelDownloader

Returns the FirebaseModelDownloader instance of a given FirebaseApp.

Extension properties

modelDownloader

val Firebase.modelDownloaderFirebaseModelDownloader

Returns the FirebaseModelDownloader instance of the default FirebaseApp.