summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/HS5Controller.h
blob: 7ad4965c57dd5303d4c4ff42b6c4f60b345cea01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
//  HS5Controller.h
//  testShareCommunication
//
//  Created by zhiwei jing on 13-10-22.
//  Copyright (c) 2013年 my. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HSMacroFile.h"


/**
 HS5Controller
 */
@interface HS5Controller : NSObject

/**
 * Initialize HS5 controller class
 */
+(HS5Controller *)shareIHHs5Controller;

/**
 * Get all scale instance,use hsInstance to call HS related communication methods.
 */
-(NSArray *)getAllCurrentHS5Instace;

//Acquire HS5 data from cloud
//When connected to the internet, HS5 could upload measurement to cloud to be recorded. Get data in cloud using the below API.
-(void)getDownloadDataFromCloud:(BlockDataFromCloud )dataBlock;

/*Start search HS5*/
-(void)commandStartSearchScale;

/*Stop search HS5*/
-(void)commandStopSearchScale;

@end