Table of Contents

Method Download

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

Download(ModelDownloadingProgressCallback)

Downloads the model file from its specified URI and saves it locally.

public void Download(LM.ModelDownloadingProgressCallback downloadingProgress = null)

Parameters

downloadingProgress LM.ModelDownloadingProgressCallback

An optional callback of type LM.ModelDownloadingProgressCallback that is invoked to report download progress. The callback receives the temporary download path, the total content length (in bytes, if available), and the number of bytes downloaded so far. It should return a bool indicating whether the download should continue.