DownloadableModelLocalDataSource
Reads local model metadata and combines it with filesystem download state.
Author
Dmitriy Moroz
Parameters
Room DAO that stores local model metadata.
Preferences source for currently selected local model ids.
Build metadata used to filter custom model placeholders.
Platform file store that resolves whether model files are downloaded.
Throws
when delegated local model IO cannot complete.
Constructors
Properties
Exposes the buildInfoProvider value used by the SDAI data layer.
Exposes the dao value used by the SDAI data layer.
Exposes the fileStore value used by the SDAI data layer.
Exposes the preferenceManager value used by the SDAI data layer.
Functions
Loads SDAI data through getAllBonsai.
Loads SDAI data through getAllCoreMl.
Loads SDAI data through getAllMediaPipe.
Loads SDAI data through getAllOnnx.
Loads SDAI data through getAllSdxl.
Loads SDAI data through getById.
Loads SDAI data through getSelectedBonsai.
Loads SDAI data through getSelectedCoreMl.
Loads SDAI data through getSelectedOnnx.
Loads SDAI data through getSelectedSdxl.
Loads SDAI data through observeAllBonsai.
Loads SDAI data through observeAllCoreMl.
Loads SDAI data through observeAllOnnx.
Loads SDAI data through observeAllSdxl.
Performs the SDAI side effect handled by save.
Executes the withLocalData step in the SDAI data layer.