CallbackMidiDjConsoleEventRangeMoved delegate |
|
Remarks
Callback delegate invoked from a secondary thread when a physical range control (sliders, jog wheels, rotary knobs, etc.) mapped into the DJ Console profile has been moved.
Events are sent to the container application only if a connection has been established between the instance of the component and the DJ Console through a call to the MidiDjConsole.Connect method.
In order to allow the component invoking this delegate at runtime, the container application must invoke the CallbackMidiDjConsoleEventRangeMovedSet method passing the address of the callback function.
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 Delegate Sub CallbackMidiDjConsoleEventRangeMoved ( strButtonName as string, nStringLength as Int32, nValue as Int32, nTimeStamp as Int32, nUserData as Int32 ) |
[C#] public delegate void CallbackMidiDjConsoleEventRangeMoved ( string strButtonName, Int32 nStringLength, Int16 nValue, Int32 nTimeStamp, Int32 nUserData ) |
[C++] public delegate void CallbackMidiDjConsoleEventRangeMoved ( string strButtonName, Int32 nStringLength, Int16 nValue, Int32 nTimeStamp, Int32 nUserData ) |
Parameter |
Description |
|
|
strButtonName |
String containing the name given to the physical range control when mapped into the DJ Console profile |
nStringLength |
Length in characters of the string containing the name |
nValue |
The new value of the control |
nTimeStamp |
The time stamp of the event expressed in milliseconds elapsed from the moment in which the MIDI input device of the DJ Console was opened through a call to the MidiDevices.Open method. |
nUserData |
User instance data |