Downloader

interface Downloader

Downloader interface used by SDK to download files (maps, voices, databases) If none is specified in com.sygic.sdk.context.SygicContextInitRequest, SDK will use android system downloader

Functions

Link copied to clipboard
abstract fun cancel(downloadId: Long)

Cancels running download

Link copied to clipboard
abstract fun download(downloadRequest: DownloadRequest, downloadListener: DownloadListener): Long

Method for downloading files based on the supplied DownloadRequest