com.google.firebase.ml.modeldownloader.ktx
Top-level functions summary
CustomModelDownloadConditions |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Extension functions summary
operator File? |
|
operator Long |
|
operator Long |
|
operator String |
|
operator String |
|
FirebaseModelDownloader |
Accessing this object for Kotlin apps has changed; see the migration guide. |
Extension properties summary
FirebaseModelDownloader |
Accessing this object for Kotlin apps has changed; see the migration guide. |
Top-level functions
customModelDownloadConditions
funcustomModelDownloadConditions(init: CustomModelDownloadConditions.Builder.() -> Unit): CustomModelDownloadConditions
Returns a CustomModelDownloadConditions
initialized using the init
function.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the 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.
Extension functions
modelDownloader
fun Firebase.modelDownloader(app: FirebaseApp): FirebaseModelDownloader
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseModelDownloader
instance of a given FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the 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.
Extension properties
modelDownloader
val Firebase.modelDownloader: FirebaseModelDownloader
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseModelDownloader
instance of the default FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the 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.