downloadModels

public final FileDownloadResult downloadModels(Context context, List<FileDownloadInfo> fileDownloadInfo, String outputPath)

Downloads models based on the provided file download information and output path.

This function initializes the file download session if it has not been initialized yet, sets up the downloads using the provided file information, and returns the status of the download.

Return

The result of the file download operation, wrapped in a FileDownloadResult.

Parameters

context

The context in which the download will occur.

fileDownloadInfo

A list of FileDownloadInfo objects containing information about the files to be downloaded.

outputPath

The path where the downloaded files will be saved.

Throws

SenseCryptSdkException

If there is an error with the download process or session initialization.