SoundRecognizer.ResultArtistInfoGet method |
|
Remarks
After a sound recognition request, started through a previous call to one between the SoundRecognizer.StartOnPlayer, SoundRecognizer.StartOnFile or SoundRecognizer.StartOnMemory methods, obtains information about a specific artist for a given music result.
For further details about the use of the sound recognizer see the SoundRecognizerMan class.
For details about sound recognition refer to the How to recognize music and obtain related information tutorial.
Syntax
[Visual Basic] Public Function ResultArtistInfoGet ( nUniqueId as Int32, nResultIndex as Int32, nArtistIndex as Int32, nInfo as enumRecognizeSoundArtistInfo ) as String |
[C#] public string ResultArtistInfoGet ( int nUniqueId, int nResultIndex, int nArtistIndex, enumRecognizeSoundArtistInfo nInfo ); |
[C++] public: string ResultArtistInfoGet ( int nUniqueId, int nResultIndex, int nArtistIndex, enumRecognizeSoundArtistInfo nInfo ); |
Parameter |
Description |
||||||
|
|
||||||
nUniqueId |
The unique identifier of the recognition session returned by a previous call to one between the SoundRecognizer.StartOnPlayer, SoundRecognizer.StartOnFile or SoundRecognizer.StartOnMemory methods |
||||||
nResultIndex |
Zero-based index of the music result; the total number of music results can be obtained through the SoundRecognizer.ResultsCountGet method |
||||||
nArtistIndex |
Zero-based index of the artist; the total number of artists can be obtained through the SoundRecognizer.ResultArtistsCountGet method |
||||||
nInfo |
The requested information code. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Empty string |
An error occurred or information not available, check the LastError property value in order to get the error code |
Valid string |
String containing the requested information about the given artist |