com.google.firebase.ml.modeldownloader

Classes

CustomModel

Stores information about custom models that are being downloaded or are already downloaded on a device.

CustomModelDownloadConditions

Conditions to allow download of custom models.

CustomModelDownloadConditions.Builder

Builder of CustomModelDownloadConditions.

FirebaseModelDownloader

Exceptions

FirebaseMlException

Represents an Exception resulting from an operation on a FirebaseModelDownloader.

Annotations

FirebaseMlException.Code

The set of Firebase ML status codes.

Enums

Top-level functions summary

Extension functions summary

Extension properties summary

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.