Copyright © 2005-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 YoutubeMan class.

 

 

Syntax

 

[Visual Basic]

Public Event YoutubeSearchDone As YoutubeSearchDoneEventHandler


 

[C#]

public event YoutubeSearchDoneEventHandler YoutubeSearchDone;


 

[C++]

public: __event YoutubeSearchDoneEventHandler YoutubeSearchDone;


 

 

Event Data

 

The event handler receives an argument of type YoutubeSearchDoneEventArgs having the following parameters:

 

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.