MedM DeviceKit
MedMDeviceKit.h
Go to the documentation of this file.
1 //
2 // MedMDeviceKit.h
3 // MedMDeviceKit
4 //
5 // Copyright (C) 2017 MedM. All rights reserved.
6 //
7 
8 #pragma once
9 
10 #import <UIKit/UIKit.h>
11 #import "AddDeviceCallback.h"
12 #import "ScannerCallback.h"
13 #import "DataCallback.h"
14 #import "DeviceInfo.h"
15 #import "MedMScanner.h"
16 #import "MedMDeviceManager.h"
17 #import "MedMCollector.h"
18 #import "MedMDeviceKitError.h"
19 #import "MedMDeviceKitConfig.h"
20 #import "PostponedAddFilter.h"
21 #import "DeviceSetting.h"
22 #import "ErrorCallback.h"
23 
25 FOUNDATION_EXPORT double DeviceSDKVersionNumber;
26 
28 FOUNDATION_EXPORT const unsigned char DeviceSDKVersionString[];
29 
31 @interface MedMDeviceKit : NSObject
32 
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 + (void) init:(NSString* _Nonnull)licenseKey NS_SWIFT_UNAVAILABLE("Use method with error");
35 + (MedMScanner* _Nonnull) getScanner NS_SWIFT_UNAVAILABLE("Use method with error");
36 + (MedMDeviceManager* _Nonnull) getDeviceManager NS_SWIFT_UNAVAILABLE("Use method with error");
37 + (MedMCollector* _Nonnull) getCollector NS_SWIFT_UNAVAILABLE("Use method with error");
38 + (MedMDeviceKitConfig* _Nonnull) getConfig NS_SWIFT_UNAVAILABLE("Use method with error");
39 + (void) setConfig:(MedMDeviceKitConfig* _Nonnull)config NS_SWIFT_UNAVAILABLE("Use method with error");
40 + (NSString* _Nonnull) getLogPath;
41 #endif
42 
48 + (BOOL) init:(NSString* _Nonnull)licenseKey error:(NSError *_Nullable *_Nullable)error NS_SWIFT_NAME(initialize(licenseKey:));
49 
58 + (MedMScanner* _Nullable) getScanner:(NSError *_Nullable *_Nullable)error;
59 
67 + (MedMDeviceManager* _Nullable) getDeviceManager:(NSError *_Nullable *_Nullable)error;
68 
76 + (MedMCollector* _Nullable) getCollector:(NSError *_Nullable *_Nullable)error;
77 
85 + (MedMDeviceKitConfig* _Nullable) getConfig:(NSError *_Nullable *_Nullable)error;
86 
93 + (BOOL) setConfig:(MedMDeviceKitConfig* _Nonnull)config error:(NSError *_Nullable *_Nullable)error;
94 
96 + (NSString* _Nonnull) getVersion;
97 
98 @end
Definition: MedMDeviceKitConfig.h:35
Main MedM DeviceKit entry point.
Definition: MedMDeviceKit.h:31
NSString *_Nonnull getVersion()
Gets the kit version identifier.
Definition: MedMDeviceKit.mm:288
MedM Collector is where you receive data from controlled devices.
Definition: MedMCollector.h:20
FOUNDATION_EXPORT const unsigned char DeviceSDKVersionString[]
Project version string for MedMDeviceKit.
Definition: MedMDeviceKit.h:28
MedM Device Manager is where you can control devices list.
Definition: MedMDeviceManager.h:24
MedM Scanner is where you search Bluetooth environment for new devices.
Definition: MedMScanner.h:18
FOUNDATION_EXPORT double DeviceSDKVersionNumber
Project version number for MedMDeviceKit.
Definition: MedMDeviceKit.h:25