CallbackPercentage delegate |
|
Remarks
Callback delegate invoked from a secondary thread in order to notify the percentage of advancement for a set of lengthy operations (loading, exporting, waveform analysis, etc.): this callback can be set through a call to the CallbackPercentageSet method.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
Syntax
[Visual Basic] Public Delegate Sub CallbackPercentage ( nOperation as enumOperationsWithPercentage, nPercentage as Int16 ) |
[C#] public delegate void CallbackPercentage ( enumOperationsWithPercentage nOperation, Int16 nPercentage ) |
[C++] public delegate void CallbackPercentage ( enumOperationsWithPercentage nOperation, Int16 nPercentage ) |
Parameter |
Description |
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
nOperation |
Identifier of the operation raising the notification. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||
nPercentage |
Number representing the percentage of advancement for the given operation. |