Copyright © 2005-2023 MultiMedia Soft

CallbackForSoundRecognizerEventsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the function of the CallbackForSoundRecognizerEvents callback delegate which notifies about sound recognition related events.

 

For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.

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 CallbackForSoundRecognizerEventsSet (

function as CallbackForSoundRecognizerEvents

) as enumErrorCodes


 

[C#]

public enumErrorCodes CallbackForSoundRecognizerEventsSet (

CallbackForSoundRecognizerEvents function

);


 

[C++]

public: enumErrorCodes CallbackForSoundRecognizerEventsSet (

CallbackForSoundRecognizerEvents function

);


 

 

Parameter

Description

 

 

function

Callback function

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.