11 - IConfigurationCallback Delegates
11
IConfigurationCallback Delegates
MagTek Universal SDK will invoke the callback function in this chapter to provide the requested data
and/or a detailed response. These events will be called in a class that implements the
IConfigurationCallback Delegates interface.
11.1 OnCalculateMAC
This event is called when certain asynchronous IDeviceConfiguration operations need to have a MAC
included with the request.
IResult OnCalculateMAC(
byte macType,
byte[] data);
Parameter
macType
data
Return Value:
Returns an IResult that contains the calculated MAC.
11.2 OnProgress
This event is called to update the host on the progress of an asynchronous IDeviceConfiguration
operation.
public void OnProgres(int progress);
Parameter
progress
Return Value: None
11.3 OnResult
This event is called to update the host when an asynchronous IDeviceConfiguration operation is
completed.
public void OnResult(
StatusCode status,
byte[] data);
Parameter
status
data
Return Value: None
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 37
Type of Mac algorithm. For DynaFlex, use 0.
Contains the data of the payload to MAC.
The progress of the configuration operation.
Range:
0 - 100
An enumerated Library Status Codes.
Contains the data for the event.
Description
Description
Description
Need help?
Do you have a question about the Universal SDK and is the answer not in the manual?
Questions and answers