SoundRecognizer.ResultsDelete method |
|
Remarks
After a sound recognition request, started through a previous call to one between the SoundRecognizer.StartOnPlayer, SoundRecognizer.StartOnFile or SoundRecognizer.StartOnMemory methods, clears the given recognition session from memory.
For further details about the use of the sound recognizer see the SoundRecognizer object section.
For details about sound recognition refer to the How to recognize music and obtain related information tutorial.
Syntax
[Visual Basic] control.SoundRecognizer.ResultsDelete ( nUniqueId as Long ) as enumErrorCodes |
[C++] short control.SoundRecognizer.ResultsDelete ( long nUniqueId ); |
Parameter |
Description |
|
|
nUniqueId |
The unique identifier of the recognition session to delete, returned by a previous call to one between the SoundRecognizer.StartOnPlayer, SoundRecognizer.StartOnFile or SoundRecognizer.StartOnMemory methods |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful |