Interface IDataCallback

  • public interface IDataCallback
    Callback which receives data from a device
    • Method Detail

      • onNewData

        void onNewData​(IDeviceDescription source,
                       java.lang.String readingXML)
        Called when new data from device was received
        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, Serial
        readingXML - Serialized as XML reading
        See Also:
      • onDataCollectionStopped

        void onDataCollectionStopped()
        Called when data collection was finished