Copyright © 2005-2018 MultiMedia Soft

PlaylistSoundLoaded event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a song included inside a playlist is loaded in memory from a file.

 

For further details about playlists management see the How to create and manage a playlist tutorial.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event PlaylistSoundLoaded As PlaylistSoundLoadedEventHandler


 

[C#]

public event PlaylistSoundLoadedEventHandler PlaylistSoundLoaded;


 

[C++]

public: __event PlaylistSoundLoadedEventHandler PlaylistSoundLoaded;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that fired the event

nItemIndex

Number representing the zero-based index of the song in the player playlist; if the song is not inserted into a playlist it's always set to 0

strTag

String containing a custom tag associated to this item. Custom tag strings can be associated to a playlist item through the PlayListAddItemWithTag method.