From MediaMonkey Wiki
Revision as of 09:27, 8 June 2010 by Ludek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBDownloader, Interface ISDBDownloader

Method ResumeDownload( URL As String)


Name Type Description
URL String URL of the download to be resumed

Method description

Resumes download for the given URL.

Added in MediaMonkey 4.0

Example code

Option Explicit

Dim UI  : Set UI = SDB.UI

Sub OnStartUp()
    Dim mnuTest

    Set mnuTest = SDB.UI.AddMenuItem(SDB.UI.Menu_Edit, 0, 0)
    mnuTest.Caption = SDB.Localize("Resume Download")
    mnuTest.OnClickFunc = "SDBOnClick"
    mnuTest.UseScript = Script.ScriptPath       
End Sub

Sub SDBOnClick(Item)   
  SDB.Downloader.ResumeDownload ""
End Sub

Related Topics