MedM DeviceKit
|
Callback which receives data from a device. More...
#import <DataCallback.h>
Instance Methods | |
(void) | - onNewData:: |
Called when new data from device was received. More... | |
(void) | - onDataCollectionStopped |
Called when data collection was stopped. More... | |
Callback which receives data from a device.
- (void) onDataCollectionStopped |
Called when data collection was stopped.
- (void) onNewData: | (DeviceInfo *_Nullable) | source | |
: | (NSString *) | reading | |
Called when new data from device was received.
source | device description or nil if Device Kit can't retrieve it DeviceInfo fields that would be provided are SKU, Address, Name, Model, DBTitle, Manufacturer DeviceInfo fields that may be provided are Manufacturer, Firmware, Hardware, Serial |
reading | serialized as XML reading |