Copyright © 2005-2019 MultiMedia Soft

SoundLyricsAvailable event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a previous request to the SoundLyricsRequest method is completed.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event SoundLyricsAvailable As SoundLyricsAvailableEventHandler


 

[C#]

public event SoundLyricsAvailableEventHandler SoundLyricsAvailable;


 

[C++]

public: __event SoundLyricsAvailableEventHandler SoundLyricsAvailable;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nPlayerIndex

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

nResult

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

If the result is enumErrorCodes.ERR_NOERROR, lyrics text can be retrieved through the SoundLyricsGet method.