react-native-map4d-services 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +24 -24
- package/android/build.gradle +58 -60
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/java/com/reactnativemap4dservices/Map4dServicesModule.java +78 -91
- package/android/src/main/java/com/reactnativemap4dservices/Map4dServicesPackage.java +28 -28
- package/android/src/main/java/com/reactnativemap4dservices/SClient.java +50 -50
- package/android/src/main/java/com/reactnativemap4dservices/SConverter.java +166 -166
- package/android/src/main/java/com/reactnativemap4dservices/SJsonUtils.java +130 -130
- package/android/src/main/java/com/reactnativemap4dservices/SRequest.java +280 -376
- package/ios/Map4dServices.h +5 -5
- package/ios/Map4dServices.m +67 -81
- package/ios/Map4dServices.xcodeproj/project.pbxproj +2 -2
- package/ios/SClient.h +23 -23
- package/ios/SClient.m +47 -47
- package/ios/SParamConvert.h +44 -44
- package/ios/SParamConvert.m +229 -229
- package/ios/SRequest.h +36 -40
- package/ios/SRequest.m +112 -142
- package/lib/commonjs/index.js +21 -17
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +22 -14
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +217 -111
- package/package.json +151 -150
- package/react-native-map4d-services.podspec +27 -20
- package/src/index.tsx +268 -175
package/ios/Map4dServices.h
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#import <React/RCTBridgeModule.h>
|
|
2
|
-
|
|
3
|
-
@interface Map4dServices : NSObject <RCTBridgeModule>
|
|
4
|
-
|
|
5
|
-
@end
|
|
1
|
+
#import <React/RCTBridgeModule.h>
|
|
2
|
+
|
|
3
|
+
@interface Map4dServices : NSObject <RCTBridgeModule>
|
|
4
|
+
|
|
5
|
+
@end
|
package/ios/Map4dServices.m
CHANGED
|
@@ -1,81 +1,67 @@
|
|
|
1
|
-
#import "Map4dServices.h"
|
|
2
|
-
#import "SRequest.h"
|
|
3
|
-
#import "SClient.h"
|
|
4
|
-
|
|
5
|
-
@implementation Map4dServices
|
|
6
|
-
|
|
7
|
-
RCT_EXPORT_MODULE()
|
|
8
|
-
|
|
9
|
-
// https://reactnative.dev/docs/native-modules-ios
|
|
10
|
-
|
|
11
|
-
/* Place | Suggestions */
|
|
12
|
-
RCT_EXPORT_METHOD(fetchSuggestion:(id)params
|
|
13
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
14
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
15
|
-
[SClient fireRequest:[SRequest buildSuggestionsRequestWithData:params] resolve:resolve reject:reject];
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* Place | Detail */
|
|
19
|
-
RCT_EXPORT_METHOD(fetchPlaceDetail:(NSString *)placeId
|
|
20
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
21
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
22
|
-
[SClient fireRequest:[SRequest buildPlaceDetailRequestWithId:placeId] resolve:resolve reject:reject];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Place | Text search */
|
|
26
|
-
RCT_EXPORT_METHOD(fetchTextSearch:(id)params
|
|
27
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
28
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
29
|
-
[SClient fireRequest:[SRequest buildTextSearchRequestWithData:params] resolve:resolve reject:reject];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Place | Nearby search */
|
|
33
|
-
RCT_EXPORT_METHOD(fetchNearbySearch:(id)params
|
|
34
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
35
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
36
|
-
[SClient fireRequest:[SRequest buildNearbySearchRequestWithData:params] resolve:resolve reject:reject];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Place | Viewbox search */
|
|
40
|
-
RCT_EXPORT_METHOD(fetchViewboxSearch:(id)params
|
|
41
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
42
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
43
|
-
[SClient fireRequest:[SRequest buildViewboxSearchRequestWithData:params] resolve:resolve reject:reject];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Place | Geocode */
|
|
47
|
-
RCT_EXPORT_METHOD(fetchGeocode:(id)params
|
|
48
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
49
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
50
|
-
[SClient fireRequest:[SRequest buildGeocodingRequestWithData:params] resolve:resolve reject:reject];
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* Route | Directions */
|
|
54
|
-
RCT_EXPORT_METHOD(fetchDirections:(id)params
|
|
55
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
56
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
57
|
-
[SClient fireRequest:[SRequest buildDirectionsRequestWithData:params] resolve:resolve reject:reject];
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Route |
|
|
61
|
-
RCT_EXPORT_METHOD(
|
|
62
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
63
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
64
|
-
[SClient fireRequest:[SRequest
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
RCT_EXPORT_METHOD(fetchDistanceMatrix:(id)params
|
|
69
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
70
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
71
|
-
[SClient fireRequest:[SRequest buildDistanceMatrixRequestWithData:params] resolve:resolve reject:reject];
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* Route | Graph route */
|
|
75
|
-
RCT_EXPORT_METHOD(fetchGraphRoute:(id)params
|
|
76
|
-
withResolver:(RCTPromiseResolveBlock)resolve
|
|
77
|
-
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
78
|
-
[SClient fireRequest:[SRequest buildGraphRouteRequestWithData:params] resolve:resolve reject:reject];
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@end
|
|
1
|
+
#import "Map4dServices.h"
|
|
2
|
+
#import "SRequest.h"
|
|
3
|
+
#import "SClient.h"
|
|
4
|
+
|
|
5
|
+
@implementation Map4dServices
|
|
6
|
+
|
|
7
|
+
RCT_EXPORT_MODULE()
|
|
8
|
+
|
|
9
|
+
// https://reactnative.dev/docs/native-modules-ios
|
|
10
|
+
|
|
11
|
+
/* Place | Suggestions */
|
|
12
|
+
RCT_EXPORT_METHOD(fetchSuggestion:(id)params
|
|
13
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
14
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
15
|
+
[SClient fireRequest:[SRequest buildSuggestionsRequestWithData:params] resolve:resolve reject:reject];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Place | Detail */
|
|
19
|
+
RCT_EXPORT_METHOD(fetchPlaceDetail:(NSString *)placeId
|
|
20
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
21
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
22
|
+
[SClient fireRequest:[SRequest buildPlaceDetailRequestWithId:placeId] resolve:resolve reject:reject];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Place | Text search */
|
|
26
|
+
RCT_EXPORT_METHOD(fetchTextSearch:(id)params
|
|
27
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
28
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
29
|
+
[SClient fireRequest:[SRequest buildTextSearchRequestWithData:params] resolve:resolve reject:reject];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Place | Nearby search */
|
|
33
|
+
RCT_EXPORT_METHOD(fetchNearbySearch:(id)params
|
|
34
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
35
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
36
|
+
[SClient fireRequest:[SRequest buildNearbySearchRequestWithData:params] resolve:resolve reject:reject];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Place | Viewbox search */
|
|
40
|
+
RCT_EXPORT_METHOD(fetchViewboxSearch:(id)params
|
|
41
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
42
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
43
|
+
[SClient fireRequest:[SRequest buildViewboxSearchRequestWithData:params] resolve:resolve reject:reject];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Place | Geocode */
|
|
47
|
+
RCT_EXPORT_METHOD(fetchGeocode:(id)params
|
|
48
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
49
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
50
|
+
[SClient fireRequest:[SRequest buildGeocodingRequestWithData:params] resolve:resolve reject:reject];
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* Route | Directions */
|
|
54
|
+
RCT_EXPORT_METHOD(fetchDirections:(id)params
|
|
55
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
56
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
57
|
+
[SClient fireRequest:[SRequest buildDirectionsRequestWithData:params] resolve:resolve reject:reject];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Route | Distance matrix */
|
|
61
|
+
RCT_EXPORT_METHOD(fetchDistanceMatrix:(id)params
|
|
62
|
+
withResolver:(RCTPromiseResolveBlock)resolve
|
|
63
|
+
withRejecter:(RCTPromiseRejectBlock)reject) {
|
|
64
|
+
[SClient fireRequest:[SRequest buildDistanceMatrixRequestWithData:params] resolve:resolve reject:reject];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@end
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
172
172
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
173
173
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
174
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
174
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
175
175
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
176
176
|
ONLY_ACTIVE_ARCH = YES;
|
|
177
177
|
SDKROOT = iphoneos;
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
215
215
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
216
216
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
217
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
217
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
218
218
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
219
219
|
SDKROOT = iphoneos;
|
|
220
220
|
VALIDATE_PRODUCT = YES;
|
package/ios/SClient.h
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
2
|
-
// SClient.h
|
|
3
|
-
// react-native-map4d-services
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 26/01/2022.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef SClient_h
|
|
9
|
-
#define SClient_h
|
|
10
|
-
|
|
11
|
-
#import <React/RCTBridgeModule.h>
|
|
12
|
-
#import <Map4dServices/Map4dServices.h>
|
|
13
|
-
|
|
14
|
-
@interface SClient : NSObject
|
|
15
|
-
|
|
16
|
-
+ (void)fireRequest:(MFServiceRequest *)request
|
|
17
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
18
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
19
|
-
|
|
20
|
-
@end
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#endif /* SClient_h */
|
|
1
|
+
//
|
|
2
|
+
// SClient.h
|
|
3
|
+
// react-native-map4d-services
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 26/01/2022.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef SClient_h
|
|
9
|
+
#define SClient_h
|
|
10
|
+
|
|
11
|
+
#import <React/RCTBridgeModule.h>
|
|
12
|
+
#import <Map4dServices/Map4dServices.h>
|
|
13
|
+
|
|
14
|
+
@interface SClient : NSObject
|
|
15
|
+
|
|
16
|
+
+ (void)fireRequest:(MFServiceRequest *)request
|
|
17
|
+
resolve:(RCTPromiseResolveBlock)resolve
|
|
18
|
+
reject:(RCTPromiseRejectBlock)reject;
|
|
19
|
+
|
|
20
|
+
@end
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#endif /* SClient_h */
|
package/ios/SClient.m
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
//
|
|
2
|
-
// SClient.m
|
|
3
|
-
// react-native-map4d-services
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 26/01/2022.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "SClient.h"
|
|
9
|
-
|
|
10
|
-
@implementation SClient
|
|
11
|
-
|
|
12
|
-
static MFServices *_services = nil;
|
|
13
|
-
|
|
14
|
-
+ (MFServices *)services {
|
|
15
|
-
if (_services == nil) {
|
|
16
|
-
_services = [[MFServices alloc] init];
|
|
17
|
-
}
|
|
18
|
-
return _services;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
+ (void)fireRequest:(MFServiceRequest *)request
|
|
22
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
23
|
-
reject:(RCTPromiseRejectBlock)reject {
|
|
24
|
-
[SClient.services dataTaskWithRequest:request
|
|
25
|
-
completionHandler:^(NSData * _Nullable data, id<MFServiceError> _Nullable error) {
|
|
26
|
-
if (error != nil) {
|
|
27
|
-
resolve(@{
|
|
28
|
-
@"code": error.code,
|
|
29
|
-
@"message": error.message
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
NSError *parseError = nil;
|
|
34
|
-
NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&parseError];
|
|
35
|
-
|
|
36
|
-
if (parseError != nil) {
|
|
37
|
-
resolve(@{
|
|
38
|
-
@"code": [NSString stringWithFormat:@"%ld", parseError.code],
|
|
39
|
-
@"message": parseError.localizedDescription
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
resolve(dictionary);
|
|
44
|
-
}];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// SClient.m
|
|
3
|
+
// react-native-map4d-services
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 26/01/2022.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "SClient.h"
|
|
9
|
+
|
|
10
|
+
@implementation SClient
|
|
11
|
+
|
|
12
|
+
static MFServices *_services = nil;
|
|
13
|
+
|
|
14
|
+
+ (MFServices *)services {
|
|
15
|
+
if (_services == nil) {
|
|
16
|
+
_services = [[MFServices alloc] init];
|
|
17
|
+
}
|
|
18
|
+
return _services;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
+ (void)fireRequest:(MFServiceRequest *)request
|
|
22
|
+
resolve:(RCTPromiseResolveBlock)resolve
|
|
23
|
+
reject:(RCTPromiseRejectBlock)reject {
|
|
24
|
+
[SClient.services dataTaskWithRequest:request
|
|
25
|
+
completionHandler:^(NSData * _Nullable data, id<MFServiceError> _Nullable error) {
|
|
26
|
+
if (error != nil) {
|
|
27
|
+
resolve(@{
|
|
28
|
+
@"code": error.code,
|
|
29
|
+
@"message": error.message
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
NSError *parseError = nil;
|
|
34
|
+
NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&parseError];
|
|
35
|
+
|
|
36
|
+
if (parseError != nil) {
|
|
37
|
+
resolve(@{
|
|
38
|
+
@"code": [NSString stringWithFormat:@"%ld", parseError.code],
|
|
39
|
+
@"message": parseError.localizedDescription
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
resolve(dictionary);
|
|
44
|
+
}];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@end
|
package/ios/SParamConvert.h
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
//
|
|
2
|
-
// SParamConvert.h
|
|
3
|
-
// react-native-map4d-services
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 26/01/2022.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef SParamConvert_h
|
|
9
|
-
#define SParamConvert_h
|
|
10
|
-
|
|
11
|
-
#import <Map4dServices/Map4dServices.h>
|
|
12
|
-
|
|
13
|
-
@interface SParamConvert : NSObject
|
|
14
|
-
|
|
15
|
-
+ (BOOL)BOOL:(id)json fallback:(BOOL)fallback;
|
|
16
|
-
|
|
17
|
-
+ (NSUInteger)NSUInteger:(id)json;
|
|
18
|
-
|
|
19
|
-
+ (NSUInteger)NSUInteger:(id)json fallback:(NSUInteger)fallback;
|
|
20
|
-
|
|
21
|
-
+ (NSString *)NSString:(id)json;
|
|
22
|
-
|
|
23
|
-
+ (NSArray<NSString *> *)NSStringArray:(id)json;
|
|
24
|
-
|
|
25
|
-
+ (NSDate *)NSDate:(id)json;
|
|
26
|
-
|
|
27
|
-
+ (MFLocationComponent *)MFLocationComponent:(id)json;
|
|
28
|
-
|
|
29
|
-
+ (NSArray<MFLocationComponent *> *)MFLocationComponentArray:(id)json;
|
|
30
|
-
|
|
31
|
-
+ (MFViewboxComponent *)MFViewboxComponent:(id)json;
|
|
32
|
-
|
|
33
|
-
+ (MFRouteRestriction *)MFRouteRestriction:(id)json;
|
|
34
|
-
|
|
35
|
-
+ (MFTravelMode)MFTravelMode:(id)json fallback:(MFTravelMode)fallback;
|
|
36
|
-
|
|
37
|
-
+ (MFRouteWeighting)MFRouteWeighting:(id)json fallback:(MFRouteWeighting)fallback;
|
|
38
|
-
|
|
39
|
-
+ (MFLanguageResult)MFLanguageResult:(id)json fallback:(MFLanguageResult)fallback;
|
|
40
|
-
|
|
41
|
-
@end
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
#endif /* SParamConvert_h */
|
|
1
|
+
//
|
|
2
|
+
// SParamConvert.h
|
|
3
|
+
// react-native-map4d-services
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 26/01/2022.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef SParamConvert_h
|
|
9
|
+
#define SParamConvert_h
|
|
10
|
+
|
|
11
|
+
#import <Map4dServices/Map4dServices.h>
|
|
12
|
+
|
|
13
|
+
@interface SParamConvert : NSObject
|
|
14
|
+
|
|
15
|
+
+ (BOOL)BOOL:(id)json fallback:(BOOL)fallback;
|
|
16
|
+
|
|
17
|
+
+ (NSUInteger)NSUInteger:(id)json;
|
|
18
|
+
|
|
19
|
+
+ (NSUInteger)NSUInteger:(id)json fallback:(NSUInteger)fallback;
|
|
20
|
+
|
|
21
|
+
+ (NSString *)NSString:(id)json;
|
|
22
|
+
|
|
23
|
+
+ (NSArray<NSString *> *)NSStringArray:(id)json;
|
|
24
|
+
|
|
25
|
+
+ (NSDate *)NSDate:(id)json;
|
|
26
|
+
|
|
27
|
+
+ (MFLocationComponent *)MFLocationComponent:(id)json;
|
|
28
|
+
|
|
29
|
+
+ (NSArray<MFLocationComponent *> *)MFLocationComponentArray:(id)json;
|
|
30
|
+
|
|
31
|
+
+ (MFViewboxComponent *)MFViewboxComponent:(id)json;
|
|
32
|
+
|
|
33
|
+
+ (MFRouteRestriction *)MFRouteRestriction:(id)json;
|
|
34
|
+
|
|
35
|
+
+ (MFTravelMode)MFTravelMode:(id)json fallback:(MFTravelMode)fallback;
|
|
36
|
+
|
|
37
|
+
+ (MFRouteWeighting)MFRouteWeighting:(id)json fallback:(MFRouteWeighting)fallback;
|
|
38
|
+
|
|
39
|
+
+ (MFLanguageResult)MFLanguageResult:(id)json fallback:(MFLanguageResult)fallback;
|
|
40
|
+
|
|
41
|
+
@end
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#endif /* SParamConvert_h */
|