Page Summary
-
ML Kit provides classes for managing machine learning models, including local and remote models.
-
MLKModelManageris the central class for managing models used by ML Kit features. -
Remote models can be downloaded and managed using
MLKRemoteModel,MLKCustomRemoteModel, andMLKRemoteModelSource. -
MLKModelDownloadConditionsallows configuration of model downloading conditions. -
Developers can utilize
MLKLocalModelfor interacting with models stored directly on the device.
Classes
The following classes are available globally.
-
A custom model that is stored remotely on the server and downloaded to the device.
Declaration
Objective-C
@interface MLKCustomRemoteModel : MLKRemoteModel -
A model stored locally on the device.
Declaration
Objective-C
@interface MLKLocalModel : NSObject -
Configurations for model downloading conditions.
Declaration
Objective-C
@interface MLKModelDownloadConditions : NSObject < NSCopying > -
Manages models that are used by MLKit features.
Declaration
Objective-C
@interface MLKModelManager : NSObject -
A model that is stored remotely on the server and downloaded to the device.
Declaration
Objective-C
@interface MLKRemoteModel : NSObject -
A model source indicating where the model is hosted remotely.
Declaration
Objective-C
@interface MLKRemoteModelSource : NSObject


