sdk-maps-static-image / com.tomtom.online.sdk.staticimage / StaticImage / download

download

open fun download(context: Context!, downloadListener: DownloadListener!): Unit

The Method to download an image with a listener. It can be used to download multiple images in the background. It can be called from the main thread.

Parameters

context - Context!: The application context.

downloadListener - DownloadListener!: Checks if the downloading finished with success or error.