com.google.mlkit.common.model

  • This page provides details about various classes used for managing Machine Learning models in Android, including remote and local models.

  • Developers can use these classes to define, download, and access models for use with ML Kit.

  • Key classes include CustomRemoteModel, LocalModel, RemoteModel, and their respective builders and managers for model manipulation.

  • DownloadConditions enables setting conditions for remote model downloads, providing control over network usage and user experience.

  • RemoteModelSource specifies the location of remote models, allowing flexible hosting options for developers.

Classes

CustomRemoteModel A custom model that is stored remotely on the server and downloaded to the device. 
CustomRemoteModel.Builder Builder of CustomRemoteModel
DownloadConditions Conditions to download remote models. 
DownloadConditions.Builder Builder of DownloadConditions
LocalModel Describes a local model created from absolute file path, asset file path or URI. 
LocalModel.Builder Builder class of LocalModel
RemoteModel Describes a remote model to be downloaded to the device. 
RemoteModelManager Manages remote models. 
RemoteModelSource A model source indicating where the model is hosted remotely.