CallbackMidiDjConsoleEventRangeMovedSet method |
|
Remarks
Sets the function of the CallbackMidiDjConsoleEventRangeMoved callback delegate which notifies when a physical range control (sliders, jog wheels, rotary knobs, etc.) mapped into the DJ Console profile has been moved.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
For further details about interfacing with MIDI DJ Consoles see the ClassMidiDjConsole class section and the How to manage MIDI DJ consoles tutorial.
Syntax
[Visual Basic] Public Function CallbackMidiDjConsoleEventRangeMovedSet ( function as CallbackMidiDjConsoleEventRangeMoved, nUserData as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes CallbackMidiDjConsoleEventRangeMovedSet ( CallbackMidiDjConsoleEventRangeMoved function, Int32 nUserData ); |
[C++] public: enumErrorCodes CallbackMidiDjConsoleEventRangeMovedSet ( CallbackMidiDjConsoleEventRangeMoved function, Int32 nUserData ); |
Parameter |
Description |
|
|
function |
Callback function |
nUserData |
User instance data to pass to the callback function |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred. Check the LastError property value in order to see the last error. |
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The method call was successful. |