Copyright © 2001-2019 MultiMedia Soft

SoundLyricsRequest method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given an author and title of a song, requests a connection to the MultiMedia Soft server in order to search for the lyrics text of the song.

Once completed the SoundLyricsAvailable event will be fired and, if found, lyrics text can be retrieved through the SoundLyricsGet method.

 

 

Syntax

 

[Visual Basic]

control.SoundLyricsRequest (

nPlayer as Integer,

strArtist as String,

strTitle as String

) as enumErrorCodes


 

[C++]

short control.SoundLyricsRequest (

short nPlayer,

LPCTSTR strArtist,

LPCTSTR strTitle

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

strArtist

String representing the artist name

strTitle

String representing the song title

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.