Copyright © 2013-2015 MultiMedia Soft

CallbackMidiDjConsoleEventButtonReleased delegate

Previous pageReturn to chapter overviewNext page

Remarks

 

Callback delegate invoked from a secondary thread when a physical button mapped into the DJ Console profile has been released.

 

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 CallbackMidiDjConsoleEventButtonReleasedSet 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 MidiDjConsoleEventButtonReleased (

strButtonName as string,

nStringLength as Int32,

nTimeStamp as Int32,

nUserData as Int32

)


 

[C#]

public delegate void MidiDjConsoleEventButtonReleased (

string strButtonName,

Int32 nStringLength,

Int32 nTimeStamp,

Int32 nUserData

)


 

[C++]

public delegate void MidiDjConsoleEventButtonReleased (

string strButtonName,

Int32 nStringLength,

Int32 nTimeStamp,

Int32 nUserData

)


 

 

Parameter

Description

 

 

strButtonName

String containing the name given to the button control when mapped into the DJ Console profile

nStringLength

Length in characters of the string containing the name

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