C# Class Solocast.Services.FileDownloadService

Inheritance: IFileDownloadService
显示文件 Open project: Solocast/solocast-clients Class Usage Examples

Public Methods

Method Description
CancelAllDownloads ( ) : void
CancelDownload ( string fileUrl ) : void
DownloadFileAsync ( string appFolderName, string folderName, string fileName, string fileUrl, Action callback, Action errorCallback = null ) : Task
FileDownloadService ( ) : Solocast.Core.Interfaces
PauseDownload ( string fileUrl ) : void
ResumeDownload ( string fielUrl ) : void

Method Details

CancelAllDownloads() public method

public CancelAllDownloads ( ) : void
return void

CancelDownload() public method

public CancelDownload ( string fileUrl ) : void
fileUrl string
return void

DownloadFileAsync() public method

public DownloadFileAsync ( string appFolderName, string folderName, string fileName, string fileUrl, Action callback, Action errorCallback = null ) : Task
appFolderName string
folderName string
fileName string
fileUrl string
callback Action
errorCallback Action
return Task

FileDownloadService() public method

public FileDownloadService ( ) : Solocast.Core.Interfaces
return Solocast.Core.Interfaces

PauseDownload() public method

public PauseDownload ( string fileUrl ) : void
fileUrl string
return void

ResumeDownload() public method

public ResumeDownload ( string fielUrl ) : void
fielUrl string
return void