Package com.cognex.cmbsdk.readerdevice
Interface ReaderDevice.ReaderDeviceListener
- Enclosing class:
- ReaderDevice
public static interface ReaderDevice.ReaderDeviceListener
Interface definition for
ReaderDevice status and result listener-
Method Summary
Modifier and TypeMethodDescriptionvoidonAvailabilityChanged(ReaderDevice reader) Called if the availability of theReaderDevicehas been changedvoidonConnectionStateChanged(ReaderDevice reader) Called if theReaderDeviceconnection state has been changedvoidonReadResultReceived(ReaderDevice reader, ReadResults results) Called ifReadResultsarrived from the reader
-
Method Details
-
onConnectionStateChanged
Called if theReaderDeviceconnection state has been changed- Parameters:
reader- The callerReaderDeviceinstance- See Also:
-
onReadResultReceived
Called ifReadResultsarrived from the reader- Parameters:
reader- The callerReaderDeviceinstanceresults- TheReadResultsobject containing the results from the reader
-
onAvailabilityChanged
Called if the availability of theReaderDevicehas been changed- Parameters:
reader- The callerReaderDeviceinstance- See Also:
-