getInstance

open fun getInstance(context: Context): DownloadManager

Gets reference to the single instance of the default download manager.

Return

the single instance of the default download manager.

Parameters

context

the context of the host application.