MedM DeviceKit
DataCallback.h
Go to the documentation of this file.
1 //
2 // DataCallback.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2017 MedM. All rights reserved.
6 //
7 
8 #ifndef DataCallback_h
9 #define DataCallback_h
10 
11 #import "DeviceInfo.h"
12 
16 @protocol DataCallback<NSObject>
26 - (void)onNewData:(DeviceInfo* _Nullable)source : (NSString *)reading;
27 
33 @end
34 
35 #endif /* DataCallback_h */
Device description.
Definition: DeviceInfo.h:17
void onDataCollectionStopped()
Called when data collection was stopped.
Callback which receives data from a device.
Definition: DataCallback.h:16