Copyright © 2005-2023 MultiMedia Soft

Youtube.VideoSearchByIDDownloadStop method

Previous pageReturn to chapter overviewNext page

Remarks

 

Stops the given downloading session previously started through one between the Youtube.VideoSearchByIDDownloadStreamToFile and the Youtube.VideoSearchByIDDownloadStreamToPlayer methods.

 

For details about management of Youtube connections refer to How to enumerate and download video/audio clips from Youtube tutorial.

For further details about methods related to Youtube searches refer to the YoutubeMan class.

 

 

Syntax

 

[Visual Basic]

Public Function VideoSearchByIDDownloadStop (

nDownloadUniqueId as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes VideoSearchByIDDownloadStop (

Int32 nDownloadUniqueId

);


 

[C++]

public: enumErrorCodes VideoSearchByIDDownloadStop (

Int32 nDownloadUniqueId

);


 

 

Parameter

Description

 

 

nDownloadUniqueId

The unique identifier of the download session to stop: this identifier may have been created through one between the Youtube.VideoSearchByIDDownloadStreamToFile and the Youtube.VideoSearchByIDDownloadStreamToPlayer methods.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful