IMPORTANT: In July 2025, we stopped releasing new versions of KTX modules, and we removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the previously released KTX modules, we recommend that you
migrate your app to use KTX APIs from the main modules instead. For details, see the
FAQ about this initiative.
Stay organized with collections
Save and categorize content based on your preferences.
com.google.firebase.ml.modeldownloader
Annotations
Classes
Enums
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-21 UTC.
[null,null,["Last updated 2025-07-21 UTC."],[],[],null,["# com.google.firebase.ml.modeldownloader\n======================================\n\nAnnotations\n-----------\n\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [FirebaseMlException.Code](/docs/reference/android/com/google/firebase/ml/modeldownloader/FirebaseMlException.Code) | The set of Firebase ML status codes. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| [CustomModel](/docs/reference/android/com/google/firebase/ml/modeldownloader/CustomModel) | Stores information about custom models that are being downloaded or are already downloaded on a device. |\n| [CustomModelDownloadConditions](/docs/reference/android/com/google/firebase/ml/modeldownloader/CustomModelDownloadConditions) | Conditions to allow download of custom models. |\n| [CustomModelDownloadConditions.Builder](/docs/reference/android/com/google/firebase/ml/modeldownloader/CustomModelDownloadConditions.Builder) | Builder of [CustomModelDownloadConditions](/docs/reference/android/com/google/firebase/ml/modeldownloader/CustomModelDownloadConditions). |\n| [FirebaseModelDownloader](/docs/reference/android/com/google/firebase/ml/modeldownloader/FirebaseModelDownloader) | |\n| [ModelDownloaderKt](/docs/reference/android/com/google/firebase/ml/modeldownloader/ModelDownloaderKt) | |\n\nEnums\n-----\n\n|---------------------------------------------------------------------------------------------|---|\n| [DownloadType](/docs/reference/android/com/google/firebase/ml/modeldownloader/DownloadType) | |\n\nExceptions\n----------\n\n|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FirebaseMlException](/docs/reference/android/com/google/firebase/ml/modeldownloader/FirebaseMlException) | Represents an Exception resulting from an operation on a [FirebaseModelDownloader](/docs/reference/android/com/google/firebase/ml/modeldownloader/FirebaseModelDownloader). |"]]