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 |
FirebaseModelDownloader |
Exceptions
FirebaseMlException |
Represents an Exception resulting from an operation on a |
Annotations
FirebaseMlException.Code |
The set of Firebase ML status codes. |
Enums
Top-level functions summary
CustomModelDownloadConditions |
Returns a |
Extension functions summary
operator File? |
|
operator Long |
|
operator Long |
|
operator String |
|
operator String |
|
FirebaseModelDownloader |
Returns the |
Extension properties summary
FirebaseModelDownloader |
Returns the |
Top-level functions
customModelDownloadConditions
fun customModelDownloadConditions(init: CustomModelDownloadConditions.Builder.() -> Unit): CustomModelDownloadConditions
Returns a CustomModelDownloadConditions
initialized using the init
function.
Extension functions
modelDownloader
fun Firebase.modelDownloader(app: FirebaseApp): FirebaseModelDownloader
Returns the FirebaseModelDownloader
instance of a given FirebaseApp
.
Extension properties
modelDownloader
val Firebase.modelDownloader: FirebaseModelDownloader
Returns the FirebaseModelDownloader
instance of the default FirebaseApp
.