download

public void download(String fileName, String downloadPath, DownloadFileConfig config)

Downloads a file from the API.

Parameters

fileName

The name of the file to download.

downloadPath

The path to download the file to.

config

The configuration for the download.


public void download(Video video, String downloadPath, DownloadFileConfig config)

Downloads a video from the API.

Parameters

video

The video to download.

downloadPath

The path to download the video to.

config

The configuration for the download.


public void download(File file, String downloadPath, DownloadFileConfig config)

Downloads a file from the API.

Parameters

file

The file to download.

downloadPath

The path to download the file to.

config

The configuration for the download.


public void download(GeneratedVideo generatedVideo, String downloadPath, DownloadFileConfig config)

Downloads a generated video from the API.

Parameters

generatedVideo

The generated video to download.

downloadPath

The path to download the generated video to.

config

The configuration for the download.