CallbackForYoutubeEvents delegate |
|
Remarks
Occurs at the end of a search of videos or channels listed on Youtube, started through one between the following methods:
- Youtube.ChannelVideoListSearch
This callback can be set through a call to the CallbackForYoutubeEventsSet method.
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.
For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.
Syntax
[Visual Basic] Public Delegate Sub CallbackForYoutubeEvents ( ByVal nEvent as enumYoutubeEvents, ByVal nResult as enumErrorCodes, ByVal nData1 as Int32, ByVal nData2 as Int32, ByVal pBufferUnicode as IntPtr, ByVal nBufferLength as Int32 ) |
[C#] public delegate void CallbackForYoutubeEvents ( enumYoutubeEvents nEvent, enumErrorCodes nResult, Int32 nData1, Int32 nData2, IntPtr pBufferUnicode, Int32 nBufferLength ) |
[C++] public delegate void CallbackForYoutubeEvents ( enumYoutubeEvents nEvent, enumErrorCodes nResult, Int32 nData1, Int32 nData2, IntPtr pBufferUnicode, Int32 nBufferLength ) |
Parameter |
Description |
|||||||||||||||||||||
|
|
|||||||||||||||||||||
nEvent |
Event reported . Supported values are the following:
|
|||||||||||||||||||||
nResult |
Zero-based index of the player reporting the event |
|||||||||||||||||||||
nData1 |
First 32 bits integer value containing event specific data; its value and meaning depends upon the specific event received: see the table above for possible values. |
|||||||||||||||||||||
nData2 |
Second 32 bits integer value containing event specific data; its value and meaning depends upon the specific event received: see the table above for possible values. |
|||||||||||||||||||||
pBufferUnicode |
Reserved for future uses |
|||||||||||||||||||||
nBufferLength |
Reserved for future uses |