MedM DeviceKit
|
MedM Collector is where you receive data from controlled devices. More...
#import <MedMCollector.h>
Instance Methods | |
(instancetype) | - setDataCallback: |
(instancetype) | - setDeviceStatusCallback: |
(instancetype) | - setAddDeviceCallback: |
(instancetype) | - setErrorCallback: |
(void) | - setDeviceFilter: |
(id< CollectorStopToken >) | - start |
Start receiving data from added devices. More... | |
(id< CollectorStopToken >) | - startWithPostponedAdding: |
Start receiving data from added devices and adding devices via postponed adding. More... | |
(id< CollectorStopToken >) | - start:: |
Start receiving data from added devices. More... | |
(id< CollectorStopToken >) | - startWithPostponedAdding::error: |
Start receiving data from added devices and adding devices via postponed adding. More... | |
(id< CollectorStopToken >) | - startWithPostponedAdding:withAddCallback:error: |
Start receiving data from added devices and adding devices via postponed adding. More... | |
(id< CollectorStopToken >) | - start::: |
Start receiving data from the spircific device or try to add it via postponed adding. More... | |
(id< CollectorStopToken >) | - start::withAddCallback: |
Start receiving data from the spircific device or try to add it via postponed adding. More... | |
(id< CollectorStopToken >) | - startWithFilter::: |
Start receiving data from the spircific devices. More... | |
(id< CollectorStopToken >) | - startWithPostponedAdding:::error: |
Start receiving data from the spircific devices or try to add it via postponed adding. More... | |
(id< CollectorStopToken >) | - startWithPostponedAdding::withAddCallback:error: |
Start receiving data from the spircific devices or try to add it via postponed adding. More... | |
MedM Collector is where you receive data from controlled devices.
- (instancetype) setAddDeviceCallback: | (id<AddDeviceCallback>) | addDeviceCallback |
addDeviceCallback | callback to receive results of postponed adding |
- (instancetype) setDataCallback: | (id<DataCallback>) | dataCallback |
dataCallback | callback to receive data in XML format |
- (void) setDeviceFilter: | (NSArray<DeviceInfo*>*) | deviceFilter |
deviceFilter | devices to receive data from |
- (instancetype) setDeviceStatusCallback: | (id<DeviceStatusCallback>) | deviceStatusCallback |
deviceStatusCallback | callback to receive device status (connected/disconnected/etc) |
- (instancetype) setErrorCallback: | (id<ErrorCallback>) | errorCallback |
errorCallback | callback to receive errors. Currently only used to notify if bluetooth is off. |
- (id< CollectorStopToken >) start |
Start receiving data from added devices.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
- (id< CollectorStopToken >) start: | (id<DataCallback>) | dataCallback | |
: | (id<DeviceStatusCallback>) | __deprecated | |
Start receiving data from added devices.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/etc) |
- (id< CollectorStopToken >) start: | (DeviceInfo*) | device | |
: | (id<DataCallback>) | dataCallback | |
: | (id<DeviceStatusCallback>) | __deprecated | |
Start receiving data from the spircific device or try to add it via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
device | device to receive data from |
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/etc) |
- (id< CollectorStopToken >) start: | (DeviceInfo*) | device | |
: | (id<DataCallback>) | dataCallback | |
withAddCallback: | (id<DeviceStatusWithAddResultCallback>) | __deprecated | |
Start receiving data from the spircific device or try to add it via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
device | device to receive data from |
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/add result/etc) |
- (id<CollectorStopToken>) startWithFilter: | (NSArray< DeviceInfo * > *) | devices | |
: | (id< DataCallback >) | dataCallback | |
: | (id< DeviceStatusCallback >) | __deprecated | |
Start receiving data from the spircific devices.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
devices | devices to receive data from |
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/etc) |
- (id< CollectorStopToken >) startWithPostponedAdding: | (NSError**) | error |
Start receiving data from added devices and adding devices via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
MedMDeviceKitException | possible codes: DeviceKitFeatureUnavailable |
- (id<CollectorStopToken>) startWithPostponedAdding: | (NSArray< DeviceInfo * > *) | devices | |
: | (id< DataCallback >) | dataCallback | |
: | (id< DeviceStatusCallback >) | deviceStatusCallback | |
error: | (NSError **) | __deprecated | |
Start receiving data from the spircific devices or try to add it via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
devices | devices to receive data from |
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/add result/etc) |
- (id< CollectorStopToken >) startWithPostponedAdding: | (id<DataCallback>) | dataCallback | |
: | (id<DeviceStatusCallback>) | deviceStatusCallback | |
error: | (NSError**) | __deprecated | |
Start receiving data from added devices and adding devices via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/etc) |
MedMDeviceKitException | possible codes: DeviceKitFeatureUnavailable |
- (id<CollectorStopToken>) startWithPostponedAdding: | (NSArray< DeviceInfo * > *) | devices | |
: | (id< DataCallback >) | dataCallback | |
withAddCallback: | (id< DeviceStatusWithAddResultCallback >) | deviceStatusCallback | |
error: | (NSError **) | __deprecated | |
Start receiving data from the spircific devices or try to add it via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
devices | devices to receive data from |
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/add result/etc) |
- (id< CollectorStopToken >) startWithPostponedAdding: | (id<DataCallback>) | dataCallback | |
withAddCallback: | (id<DeviceStatusWithAddResultCallback>) | deviceStatusCallback | |
error: | (NSError**) | __deprecated | |
Start receiving data from added devices and adding devices via postponed adding.
If the device doesn't automatically delete data after sending, Device Kit would filter incoming data by storing the last reading time.
Postponed adding feature is available only for specific licences. Make sure that your license includes it.
dataCallback | callback to receive data in XML format |
deviceStatusCallback | callback to receive device status (connected/disconnected/add result/etc) |
MedMDeviceKitException | possible codes: DeviceKitFeatureUnavailable |