Package com.medm.devicekit
Interface IDataCallback
public interface IDataCallback
Callback which receives data from a device
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when data collection was finishedvoid
onNewData
(IDeviceDescription source, String readingXML) Called when new data from device was received
-
Method Details
-
onNewData
Called when new data from device was received- Parameters:
source
- device description or null if Device Kit can't retrieve it. IDeviceDescription fields that would be provided are SKU, Address, Name, Model, DBTitle, Manufacturer IDeviceDescription fields that may be provided are Manufacturer, Firmware, Hardware, SerialreadingXML
- Serialized as XML reading- See Also:
-
onDataCollectionStopped
void onDataCollectionStopped()Called when data collection was finished
-