|
MedM DeviceKit
|
MedM Scanner is where you search Bluetooth environment for new devices. More...
#import <MedMScanner.h>
Instance Methods | |
| (instancetype) | - setCallback: |
| (instancetype) | - setErrorCallback: |
| (id< ScannerStopToken >) | - start |
| Start scan for bluetooth devices. More... | |
| (id< ScannerStopToken >) | - start: |
| Start scan for bluetooth devices. More... | |
MedM Scanner is where you search Bluetooth environment for new devices.
| - (instancetype) setCallback: | (id<ScannerCallback>) | scannerCallback |
| scannerCallback | callback to receive discovered devices or notification that discovery was finished |
| - (instancetype) setErrorCallback: | (id<ErrorCallback>) | errorCallback |
| errorCallback | callback to receive errors. Currently only used to notify if bluetooth is off. |
| - (id< ScannerStopToken >) start |
Start scan for bluetooth devices.
Note that scanner will not filter already found devices.
| - (id< ScannerStopToken >) start: | (id<ScannerCallback>) | __deprecated |
Start scan for bluetooth devices.
Note that scanner will not filter already found devices.
| scannerCallback | callback to receive discovered devices or notification that discovery was finished |