D-4
Cisco Interactive Experience Client 4600 Series User Guide
Appendix D Magnetic Card Readers and Barcode Scanners
Magnetic Card Reader and Barcode Scanner Implementation
void scanning();
void scanned(out string data);
void error(out string error);
}
Table D-1
global.magstripe Object Variables
Variable
Description
open(in string deviceName)
Open the device for reading data. If
deviceName
is not empty, use this device name,
and
browser.magstripe.scanner
property otherwise.
close()
Close the device.
opened()
The device has been open successfully.
scanning()
The device has started data scanning.
scanned(out string data)
The device has finished scanning, read the
scanned data from
deviceName
.
error(out string error)
Error has occurred.
Implement the global.magstripe Object
Step 1
Open your application’s code.
Step 2
Insert the global.magstripe object code.
Step 3
Replace the
deviceName
variable with the name of the device that you retrieved from the IEC.