프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Extras | List |
||
MainResource | DownloadItem | ||
View | InfoReportProxy |
메소드 | 설명 | |
---|---|---|
Download ( bool ignoreExtras = false ) : Task |
Downloads the Sound representation and any extra files that accompany it If true, extra files will not be downloaded. (Useful for retrying the main download)
|
|
Finish ( bool close = true ) : bool |
Called once the whole process is finished. Clears any log data and closes the connection to the view. If this method is overridden, base.Finish() should be called AT THE END of the function.
|
|
Validate ( ) : Task |
Validates the download. The base stream does not do any validation.
|
메소드 | 설명 | |
---|---|---|
BaseStream ( String url, InfoReportProxy view ) : System |
Creates a base stream that downloads from a remote url
|
|
GenerateRandomString ( int size ) : String |
Generate a random string of a given length
|
|
GetCleanFileName ( string value ) : string |
Get the clean filename for a title
|
메소드 | 설명 | |
---|---|---|
DownloadExtra ( DownloadItem item ) : System.Threading.Tasks.Task |
Asynchronous method for downloading an item that does not track progress
|
protected BaseStream ( String url, InfoReportProxy view ) : System | ||
url | String | The url to process |
view | InfoReportProxy | The view to report information back to |
리턴 | System |
protected static GenerateRandomString ( int size ) : String | ||
size | int | Length of the string |
리턴 | String |
protected static GetCleanFileName ( string value ) : string | ||
value | string | The title of the song |
리턴 | string |