diff options
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BPContinua.h')
| -rw-r--r-- | libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BPContinua.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BPContinua.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BPContinua.h new file mode 100644 index 0000000..3949cae --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/Communication_SDK/Headers/BPContinua.h | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | // | ||
| 2 | // BPContinua.h | ||
| 3 | // testShareCommunication | ||
| 4 | // | ||
| 5 | // Created by zhiwei jing on 13-10-22. | ||
| 6 | // Copyright (c) 2013年 my. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import <Foundation/Foundation.h> | ||
| 10 | #import "UIKit/UIKit.h" | ||
| 11 | #import "BPDevice.h" | ||
| 12 | |||
| 13 | /** | ||
| 14 | |||
| 15 | BPContinua device class | ||
| 16 | |||
| 17 | */ | ||
| 18 | @interface BPContinua : BPDevice | ||
| 19 | |||
| 20 | |||
| 21 | /** | ||
| 22 | * Upload offline data. | ||
| 23 | * @param uploadDataArray offline data set, including MAP, dataID, dia, heartRate, irregular, measureState, sys, time, unit, userId. | ||
| 24 | * @param completeBlock transfer memory complete | ||
| 25 | * @param error error codes. | ||
| 26 | * Specification: | ||
| 27 | */ | ||
| 28 | -(void)commandTransferMemoryDataWithDataArray:(BlockBachArray)uploadDataArray complete:(BlockSuccess)completeBlock errorBlock:(BlockError)error; | ||
| 29 | |||
| 30 | |||
| 31 | /** | ||
| 32 | * Set the userID of memery data that need to upload | ||
| 33 | * @param userID The userID of memery data that want to upload.The userID is @1 or @2. | ||
| 34 | * @param setResult The result of setting userID,'YES'means success. | ||
| 35 | * @param error Error codes. | ||
| 36 | */ | ||
| 37 | -(void)commandSetUploadUserID:(NSNumber *)userID setUserIDBlock:(BlockSetUserID)setResult errorBlock:(BlockError)error; | ||
| 38 | |||
| 39 | /** | ||
| 40 | * Synchronize time | ||
| 41 | */ | ||
| 42 | -(void)commandSynchronizeTime; | ||
| 43 | |||
| 44 | /** | ||
| 45 | * Get Battery | ||
| 46 | * @param energyValue 0-100 | ||
| 47 | * @param error Error codes. | ||
| 48 | */ | ||
| 49 | -(void)commandGetBattery:(BlockEnergyValue)energyValue errorBlock:(BlockError)error; | ||
| 50 | |||
| 51 | /** | ||
| 52 | * Disconnect current device | ||
| 53 | */ | ||
| 54 | -(void)commandDisconnectDevice; | ||
| 55 | |||
| 56 | @end | ||
