summaryrefslogtreecommitdiff
path: root/libs/ihealth-sdk/ios/ReactNativeIOSLibrary/NT13BProfileModule.m
blob: 558d2ddd01f67fd2cca2fc280570a2187db534da (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
39
//
//  NT13BProfileModule.m
//  ReactNativeIOSLibrary
//
//  Created by user on 2019/11/14.
//  Copyright © 2019 daiqingquan. All rights reserved.
//

#import "NT13BProfileModule.h"

@implementation NT13BProfileModule

RCT_EXPORT_MODULE()

#pragma mark
#pragma mark - constantsToExport


- (NSDictionary *)constantsToExport
{
    return @{
             @"ACTION_MEASUREMENT_RESULT":@"action_measurement_result",
             NT13B_ACTION:@"action",
             NT13B_DEVICE:@"device",
             NT13B_KEY_MAC:@"mac",
             kACTION_GET_ALL_CONNECTED_DEVICES:kACTION_GET_ALL_CONNECTED_DEVICES,
             NT13B_RESULT:@"result",
             NT13B_UNIT_FLAG:@"unit_flag",
             NT13B_THERMOMETER_TYPE:@"thermometer_type"
             };
};


+ (BOOL)requiresMainQueueSetup
{
    return YES;
}

@end