diff options
Diffstat (limited to 'libs/ihealth-sdk/module/AM5ProfileModule.js')
| -rwxr-xr-x | libs/ihealth-sdk/module/AM5ProfileModule.js | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/module/AM5ProfileModule.js b/libs/ihealth-sdk/module/AM5ProfileModule.js new file mode 100755 index 0000000..00621ea --- /dev/null +++ b/libs/ihealth-sdk/module/AM5ProfileModule.js | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | 'use strict'; | ||
| 2 | |||
| 3 | |||
| 4 | var {NativeModules} = require('react-native'); | ||
| 5 | |||
| 6 | var RCTModule = NativeModules.AM5ProfileModule | ||
| 7 | |||
| 8 | /** | ||
| 9 | * @module AM5ProfileModule | ||
| 10 | */ | ||
| 11 | module.exports = { | ||
| 12 | |||
| 13 | ACTION_ERROR: RCTModule.ACTION_ERROR, | ||
| 14 | ERROR_NUM: RCTModule.ERROR_NUM, | ||
| 15 | ERROR_DESCRIPTION: RCTModule.ERROR_DESCRIPTION, | ||
| 16 | |||
| 17 | ACTION_USER_BIND: RCTModule.ACTION_ERROR, | ||
| 18 | ACTION_USER_UNBIND: RCTModule.ACTION_ERROR, | ||
| 19 | ACTION_FUNCTION_SUPPORT: RCTModule.ACTION_ERROR, | ||
| 20 | ACTION_BASIC_INFO: RCTModule.ACTION_ERROR, | ||
| 21 | ACTION_MAC_ADDRESS: RCTModule.ACTION_ERROR, | ||
| 22 | |||
| 23 | MAC_ADDRESS: RCTModule.MAC_ADDRESS, | ||
| 24 | BASIC_BATTSTATUS: RCTModule.BASIC_BATTSTATUS, | ||
| 25 | BASIC_DEIVCEID: RCTModule.BASIC_DEIVCEID, | ||
| 26 | BASIC_ENERGE: RCTModule.BASIC_ENERGE, | ||
| 27 | BASIC_FIRMWAREVERSION: RCTModule.BASIC_FIRMWAREVERSION, | ||
| 28 | BASIC_MODE: RCTModule.BASIC_MODE, | ||
| 29 | BASIC_PAIRFLAG: RCTModule.BASIC_PAIRFLAG, | ||
| 30 | BASIC_REBOOT: RCTModule.BASIC_REBOOT, | ||
| 31 | |||
| 32 | ACTION_LIVE_DATA: RCTModule.ACTION_LIVE_DATA, | ||
| 33 | ACTION_ACTIVITY_COUNT: RCTModule.ACTION_ACTIVITY_COUNT, | ||
| 34 | ACTION_SET_TIME: RCTModule.ACTION_SET_TIME, | ||
| 35 | ACTION_SET_ALARM: RCTModule.ACTION_SET_ALARM, | ||
| 36 | ACTION_SET_GOAL: RCTModule.ACTION_SET_GOAL, | ||
| 37 | ACTION_SET_LONG_SIT: RCTModule.ACTION_SET_LONG_SIT, | ||
| 38 | ACTION_SET_USER_INFO: RCTModule.ACTION_SET_USER_INFO, | ||
| 39 | ACTION_SET_UNIT: RCTModule.ACTION_SET_UNIT, | ||
| 40 | ACTION_SET_HAND_WEAR_MODE: RCTModule.ACTION_SET_HAND_WEAR_MODE, | ||
| 41 | ACTION_SET_UP_HAND_GESTURE: RCTModule.ACTION_SET_UP_HAND_GESTURE, | ||
| 42 | ACTION_SET_HEART_RATE_INTERVAL: RCTModule.ACTION_SET_HEART_RATE_INTERVAL, | ||
| 43 | ACTION_SET_HEART_RATE_MEASURE_MODE: RCTModule.ACTION_SET_HEART_RATE_MEASURE_MODE, | ||
| 44 | ACTION_SET_ONE_KEY_RESET: RCTModule.ACTION_SET_ONE_KEY_RESET, | ||
| 45 | ACTION_SET_NOT_DISTURB: RCTModule.ACTION_SET_NOT_DISTURB, | ||
| 46 | ACTION_SET_SPORT_MODE: RCTModule.ACTION_SET_SPORT_MODE, | ||
| 47 | |||
| 48 | OPERATION_RESULT: RCTModule.OPERATION_RESULT, | ||
| 49 | OPERATION_ACTION: RCTModule.OPERATION_ACTION, | ||
| 50 | |||
| 51 | ACTION_NOTICE_COMMING_CALL: RCTModule.ACTION_NOTICE_COMMING_CALL, | ||
| 52 | ACTION_NOTICE_COMMING_CALL_STOP: RCTModule.ACTION_NOTICE_COMMING_CALL_STOP, | ||
| 53 | ACTION_NOTICE_NEW_MESSAGE: RCTModule.ACTION_NOTICE_NEW_MESSAGE, | ||
| 54 | |||
| 55 | ACTION_SYNC_ACTIVITY: RCTModule.ACTION_SYNC_ACTIVITY, | ||
| 56 | ACTION_SYNC_ACTIVITY_DATA: RCTModule.ACTION_SYNC_ACTIVITY_DATA, | ||
| 57 | ACTION_SYNC_CONFIG: RCTModule.ACTION_SYNC_CONFIG, | ||
| 58 | ACTION_SYNC_HEALTH_DATA: RCTModule.ACTION_SYNC_HEALTH_DATA, | ||
| 59 | ACTION_SYNC_HEALTH_DATA_SPORT: RCTModule.ACTION_SYNC_HEALTH_DATA_SPORT, | ||
| 60 | ACTION_SYNC_HEALTH_DATA_SLEEP: RCTModule.ACTION_SYNC_HEALTH_DATA_SLEEP, | ||
| 61 | ACTION_SYNC_HEALTH_DATA_HEART_RATE: RCTModule.ACTION_SYNC_HEALTH_DATA_HEART_RATE, | ||
| 62 | ACTION_SYNC_HEALTH_DATA_BLOOD_PRESSURE: RCTModule.ACTION_SYNC_HEALTH_DATA_BLOOD_PRESSURE, | ||
| 63 | |||
| 64 | OPERATION_STATUS: RCTModule.OPERATION_STATUS, | ||
| 65 | PROGRESS: RCTModule.PROGRESS, | ||
| 66 | |||
| 67 | ACTION_GET_ALL_CONNECTED_DEVICES: RCTModule.ACTION_GET_ALL_CONNECTED_DEVICES | ||
| 68 | } | ||
