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.
Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-ml-modeldownloade-ktx
are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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
.
Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-ml-modeldownloade-ktx
are now deprecated. As early as April 2024, we'll no longer release KTX modules. 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
.
Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-ml-modeldownloade-ktx
are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.