diff options
| author | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
|---|---|---|
| committer | hc <haocheng.xie@respiree.com> | 2026-04-13 15:17:52 +0800 |
| commit | d6d9a09d505d11148599a95a5be3e1351edbe0ac (patch) | |
| tree | a5f5891983d1ff207e99f683a5e151519cef4980 /libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h | |
| parent | e4fb9966e762852bf17f21c8406501d42fae0b61 (diff) | |
Local iHealth SDK, device detail screen, iOS event fixes
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h')
| -rw-r--r-- | libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h new file mode 100644 index 0000000..506c300 --- /dev/null +++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/HSProfileModule.h | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | // | ||
| 2 | // HSProfileModule.h | ||
| 3 | // ReactNativeIOSLibrary | ||
| 4 | // | ||
| 5 | // Created by ihealth on 16/12/2. | ||
| 6 | // Copyright © 2016年 daiqingquan. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import <Foundation/Foundation.h> | ||
| 10 | #if __has_include(<React/RCTAssert.h>) | ||
| 11 | #import <React/RCTBridgeModule.h> | ||
| 12 | #else | ||
| 13 | #import "RCTBridgeModule.h" | ||
| 14 | #endif | ||
| 15 | |||
| 16 | @interface HSProfileModule : NSObject<RCTBridgeModule> | ||
| 17 | |||
| 18 | #define ACTION_LIVEDATA_HS @"liveData_hs" | ||
| 19 | #define LIVEDATA_HS @"value" | ||
| 20 | |||
| 21 | #define ACTION_ONLINE_RESULT_HS @"online_result_hs" | ||
| 22 | #define DATAID @"dataID" | ||
| 23 | #define WEIGHT_HS @"value" | ||
| 24 | #define FAT_HS @"" | ||
| 25 | #define WATER_HS @"" | ||
| 26 | #define MUSCLE_HS @"" | ||
| 27 | #define SKELETON_HS @"" | ||
| 28 | #define FATELEVEL_HS @"" | ||
| 29 | #define DCI_HS @"" | ||
| 30 | |||
| 31 | #define ACTION_GET_ALL_CONNECTED_DEVICES @"action_get_all_connected_devices" | ||
| 32 | #define ACTION_HISTORICAL_DATA_HS @"historicaldata_hs" | ||
| 33 | #define HISTORDATA_HS @"historyData" | ||
| 34 | #define MEASUREMENT_DATE_HS @"date" | ||
| 35 | #define ACTION_HISTORICAL_DATA_COMPLETE_HS @"finishTranslate" | ||
| 36 | #define ACTION_NO_HISTORICALDATA @"noHistoryData" | ||
| 37 | #define BATTERY_HS @"battery_hs" | ||
| 38 | #define ACTION_BATTARY_HS @"action_get_battery_hs" | ||
| 39 | #define ACTION_ERROR_HS @"error_hs" | ||
| 40 | #define ERROR_NUM_HS @"error" | ||
| 41 | #define ERROR_ID_ILLEGAL_ARGUMENT @"400" | ||
| 42 | #define ERROR_ID_WIFI_DISABLED @"" | ||
| 43 | #define ERROR_DESCRIPTION_HS @"description" | ||
| 44 | |||
| 45 | |||
| 46 | #define ACTION_ONLINE_WEIGHTANDBody_INFO @"online_weigthandbody_info" | ||
| 47 | |||
| 48 | #define ACTION_BroadCastType_DEVICE @"broadCastType_device" | ||
| 49 | |||
| 50 | #define ACTION_RESET_DEVICE @"reset_device" | ||
| 51 | |||
| 52 | #define ACTION_MEASURE_FINISH @"measure_finish" | ||
| 53 | |||
| 54 | #define MEMORY_COUNT @"history_data_count" | ||
| 55 | |||
| 56 | #define MEMORY_DATA @"history_data" | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | @end | ||
