Copyright © 2001-2023 MultiMedia Soft

YoutubeSearchDone event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs at the end of a search of videos or channels listed on Youtube, started through one between the following methods:

- Youtube.ChannelsListSearch

- Youtube.ChannelVideoListSearch

- Youtube.VideoListSearch

- Youtube.VideoSearchByID

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 Youtube object section.

 

 

Syntax

 

[Visual Basic]

YoutubeSearchDone (

ByVal nSearchType as enumYoutubeSearches,

ByVal nParam as Integer,

ByVal nResult as enumErrorCodes

)


 

[C++]

void YoutubeSearchDone (

short nSearchType,,

short nParam,

short nResult

);


 

 

Parameter

Description

 

 

nSearchType

Type of search performed.

Supported values are the following:

Mnemonic Value

Value

Meaning

YOUTUBE_SEARCH_VIDEOS

0

Search videos through the Youtube.VideoListSearch method

YOUTUBE_SEARCH_VIDEO_BY_ID

1

Search specific video through the Youtube.VideoSearchByID method

YOUTUBE_SEARCH_CHANNELS

2

Search channels through the Youtube.ChannelsListSearch method

YOUTUBE_SEARCH_CHANNEL_ITEMS

3

Search video items of a channel through the Youtube.ChannelVideoListSearch method

nParam

Reserved for future uses

nResult

The result of the operation. See the LastError property for details about the returned result code.