110
CITIZEN UWP POS Print SDK - Programming Manual
4.3.8. DataEvent event
Syntax
void DataEventHandler(byte[] status)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
[IN/OUT]
Meaning
Setting range
data
[IN]
Scan data
Description
This event notifies data entry from the barcode scanner.
The event handler receives byte array type arguments as information read by the barcode scanner from
the barcode.
Example
// Data event definition.
void OnDataEvent(byte[] data)
{
Debug.WriteLine("Data call back: " + Encoding.UTF8.GetString(data));
}
// Add event handler.
scanner.Dat= new DataEventHandler(OnDataEvent);