summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h')
-rwxr-xr-xlibs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h128
1 files changed, 128 insertions, 0 deletions
diff --git a/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h
new file mode 100755
index 0000000..bdbb511
--- /dev/null
+++ b/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/AM5ProfileModule.h
@@ -0,0 +1,128 @@
1//
2// AM5ProfileModule.h
3// ReactNativeIOSLibrary
4//
5// Created by daiqingquan on 2016/12/4.
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@interface AM5ProfileModule : NSObject<RCTBridgeModule>
16
17
18#define kACTION_ERROR @"ACTION_ERROR"
19
20#define ERROR_NUM @"ERROR_NUM"
21
22#define ERROR_DESCRIPTION @"description"
23
24#define kACTION_USER_BIND @"action_user_bind"
25
26#define kACTION_USER_UNBIND @"action_user_unbind"
27
28#define kACTION_FUNCTION_SUPPORT @"ACTION_FUNCTION_SUPPORT"
29
30#define kACTION_BASIC_INFO @"action_basic_info"
31
32#define MAC_ADDRESS @"mac"
33
34#define BASIC_BATTSTATUS @"battStatus"
35
36#define BASIC_DEIVCEID @"deivceId"
37
38#define BASIC_ENERGE @"energe"
39
40#define BASIC_FIRMWAREVERSION @"firmwareVersion"
41
42#define BASIC_MODE @"mode"
43
44#define BASIC_PAIRFLAG @"pairFlag"
45
46#define BASIC_REBOOT @"reboot"
47
48#define kACTION_LIVE_DATA @"action_live_data"
49
50#define LIVE_DATA_HEARTRATE @"heartRate"
51
52#define LIVE_DATA_STEP @"totalStep"
53
54#define LIVE_DATA_DISTANCES @"totalDistances"
55
56#define LIVE_DATA_ACTIVETIME @"activeTime"
57
58#define LIVE_DATA_CALORIE @"calorie"
59
60
61#define kACTION_ACTIVITY_COUNT @"action_live_count"
62
63#define kACTION_SET_TIME @"TIME"
64
65#define kACTION_SET_ALARM @"action_basic_info"
66
67#define kACTION_SET_GOAL @"action_basic_info"
68
69#define kACTION_SET_LONG_SIT @"action_basic_info"
70
71#define kACTION_SET_USER_INFO @"USER_INFO"
72
73#define kACTION_SET_UNIT @"UNIT"
74
75#define kACTION_SET_HAND_WEAR_MODE @"HAND_MODE"
76
77#define kACTION_SET_UP_HAND_GESTURE @"action_basic_info"
78
79#define kACTION_SET_HEART_RATE_INTERVAL @"action_basic_info"
80
81#define kACTION_SET_HEART_RATE_MEASURE_MODE @"action_basic_info"
82
83#define kACTION_SET_ONE_KEY_RESET @"action_basic_info"
84
85#define kACTION_SET_NOT_DISTURB @"action_basic_info"
86
87#define kACTION_SET_SPORT_MODE @"action_basic_info"
88
89#define OPERATION_RESULT @"action_basic_info"
90
91#define OPERATION_ACTION @"action_basic_info"
92
93#define kACTION_NOTICE_COMMING_CALL @"action_basic_info"
94
95#define kACTION_NOTICE_COMMING_CALL_STOP @"action_basic_info"
96
97#define kACTION_NOTICE_NEW_MESSAGE @"action_basic_info"
98
99#define kACTION_SYNC_ACTIVITY @"action_basic_info"
100
101#define kACTION_SYNC_ACTIVITY_DATA @"action_basic_info"
102
103#define kACTION_SYNC_CONFIG @"action_basic_info"
104
105#define kACTION_SYNC_HEALTH_DATA @"action_sync_health_data"
106
107#define kACTION_SYNC_HEALTH_DATA_SPORT @"action_sync_health_data_sport"
108
109#define kACTION_SYNC_HEALTH_DATA_SLEEP @"action_sync_health_data_sleep"
110
111#define kACTION_SYNC_HEALTH_DATA_HEART_RATE @"action_sync_health_data_heart_rate"
112
113#define kACTION_SYNC_HEALTH_DATA_BLOOD_PRESSURE @"action_basic_info"
114
115#define OPERATION_STATUS @"status"
116
117#define TYPE @"type"
118
119#define DATA @"data"
120
121#define PROGRESS @"PROGRESS"
122
123#define RESULT @"result"
124
125
126#define kACTION_GET_ALL_CONNECTED_DEVICES @"ACTION_GET_ALL_CONNECTED_DEVICES"
127
128@end