Package com.medm.devicekit
Interface IDataCallback
-
public interface IDataCallback
Callback which receives data from a device
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDataCollectionStopped()
Called when data collection was finishedvoid
onNewData(IDeviceDescription source, java.lang.String readingXML)
Called when new data from device was received
-
-
-
Method Detail
-
onNewData
void onNewData(IDeviceDescription source, java.lang.String readingXML)
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:
- https://documentation.medm.com/v2.11/api/v3/index.html#measurements
-
onDataCollectionStopped
void onDataCollectionStopped()
Called when data collection was finished
-
-