com.google.mlkit.common.model

  • CustomRemoteModel represents a custom model stored remotely and downloaded to the device, with a dedicated builder class for its creation.

  • DownloadConditions define the criteria for downloading remote models, also featuring a builder class.

  • LocalModel describes models created from local file paths, asset paths, or URIs, and has a corresponding builder class.

  • RemoteModel represents a remote model intended for download to the device.

  • RemoteModelManager is responsible for managing remote models.

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.