Copyright © 2005-2023 MultiMedia Soft

Youtube.ChannelVideoListSearch method

Previous pageReturn to chapter overviewNext page

Remarks

 

Begins a search of videos available on a specific Youtube channel.

 

A successful call to this method allows the container application the be notified about the search completion through the CallbackForYoutubeEvents delegate having the nEvent parameter set to EV_YOUTUBE_SEARCH_DONE and the nData1 parameter set to YOUTUBE_SEARCH_CHANNEL_ITEMS.

 

Results can be enumerated through the Youtube.ChannelVideoListSearchItemsCountGet method and related information can be obtained through the Youtube.ChannelVideoListSearchItemInfoGet and Youtube.ChannelVideoListSearchItemThumbnailGet 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 ChannelVideoListSearch (

strChannelID as String,

nMaxItems as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ChannelVideoListSearch (

string strChannelID,

int nMaxItems

);


 

[C++]

public: enumErrorCodes ChannelVideoListSearch (

string strChannelID,

int nMaxItems

);


 

 

Parameter

Description

 

 

strChannelID

String containing the identifier of the channel as assigned by Youtube when the channel was originally created.

nMaxItems

The search is limited to the given number of items.

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.NOERROR (0)

The method call was successful

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.