-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMapsIndoorsBridge.m
129 lines (91 loc) · 5.57 KB
/
MapsIndoorsBridge.m
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#import <React/RCTBridgeModule.h>
@interface RCT_EXTERN_MODULE(MapsIndoorsModule, NSObject)
RCT_EXTERN_METHOD(requiresMainQueueSetup)
RCT_EXTERN_METHOD(addEvent:(NSString *)name
location:(NSString *)location
date:(nonnull NSNumber *)date)
RCT_EXTERN_METHOD(loadMapsIndoors:(NSString *)apiKey
optionalStrings:(NSArray<NSString *> _Nullable)optionalStrings
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(test)
RCT_EXTERN_METHOD(getVenues:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getBuildings:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getCategories:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getLocations:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(disableEventLogging:(BOOL) disable
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getApiKey:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getAvailableLanguages:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getDefaultLanguage:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getLanguage:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getLocationById:(NSString) id
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getLocationsByExternalIds:(NSArray) ids
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getMapStyles:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getSolution:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getLocationsAsync:(NSString) query
filter:(NSString) filter
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(locationDisplayRuleExists:(NSString) locId
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(displayRuleNameExists:(NSString) name
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(onPositionUpdate:(NSString) position
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(setPositionProvider:(NSString) positionProviderName
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(removePositionProvider:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getUserRoles:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(applyUserRoles:(NSString) userRolesJSON
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getAppliedUserRoles:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(isApiKeyValid:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(isReady:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(getDefaultVenue:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(checkOfflineDataAvailability:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(destroy:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(isInitialized:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(synchronizeContent:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(setLanguage:(NSString) language
resolver:(RCTPromiseResolveBlock) resolve
rejecter:(RCTPromiseRejectBlock) reject)
RCT_EXTERN_METHOD(addVenuesToSync:(NSArray<NSString *> *)venues
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(removeVenuesToSync:(NSArray<NSString *> *)venues
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getSyncedVenues:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
@end