phizclip-uniapp-demo/finclip-uniapp-test/nativeplugins/MopSdk/ios/FinApplet.framework/Headers/FATConfig.h

211 lines
7.2 KiB
C
Raw Normal View History

2022-06-08 11:57:35 +08:00
//
// FATConfig.h
// FinApplet
//
// Created by 杨涛 on 2019/2/2.
// Copyright © 2019 finogeeks. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FATStoreConfig.h"
#import "FATConstant.h"
NS_ASSUME_NONNULL_BEGIN
@interface FATConfig : NSObject
/**
2022-10-19 12:51:03 +08:00
2022-06-08 11:57:35 +08:00
*/
@property (nonatomic, copy, readonly) NSArray<FATStoreConfig *> *storeConfigs;
/**
2022-10-19 12:51:03 +08:00
id->->id
userId
//退
2022-06-08 11:57:35 +08:00
userId
*/
@property (nonatomic, copy) NSString *currentUserId;
2022-10-19 12:51:03 +08:00
/**
finclipfinogeeksuserAgentfinogeeks
*/
@property (nonatomic, copy) NSString *productIdentification;
2022-06-08 11:57:35 +08:00
/**
SDK
YESSDK使api
*/
@property (nonatomic, assign) BOOL disableAuthorize;
/**
YES
*/
@property (nonatomic, assign) BOOL appletAutoAuthorize;
/**
2022-10-19 12:51:03 +08:00
SDKAPINO
YESSDKAPI
2022-06-08 11:57:35 +08:00
*/
@property (nonatomic, assign) BOOL disableGetSuperviseInfo;
2022-10-19 12:51:03 +08:00
/**
webviewNO,
YESHttps
*/
@property (nonatomic, assign) BOOL ignoreWebviewCertAuth;
2022-06-08 11:57:35 +08:00
/**
2022-10-19 12:51:03 +08:00
SDKwifi使x
2022-06-08 11:57:35 +08:00
0~5003
*/
@property (nonatomic, assign) NSInteger appletIntervalUpdateLimit;
/**
apm
*/
@property (nonatomic, strong) NSDictionary *apmExtension;
/** 是否开启Crash防崩溃默认为NO。
UnrecognizedSelectorKVONotificationTimerContainer(nil)String (nil)
便
*/
@property (nonatomic, assign) BOOL startCrashProtection;
@property (nonatomic, strong) NSDictionary *theme;
/**
*
* NO
*/
@property (nonatomic, assign) BOOL enableApmDataCompression;
/**
使
YES
*/
@property (nonatomic, assign) BOOL encryptServerData;
/**
debug
2022-10-19 12:51:03 +08:00
FATBOOLStateUndefinedapp.json debug:true vconsole
FATBOOLStateTruevconsole
FATBOOLStateFalse
2022-06-08 11:57:35 +08:00
*/
2022-10-19 12:51:03 +08:00
@property (nonatomic, assign) FATBOOLState enableAppletDebug;
/**
*/
@property (nonatomic, assign) BOOL enableWatermark;
/**
*/
@property (nonatomic, assign) FATConfigPriority watermarkPriority;
2022-06-08 11:57:35 +08:00
/**
FATBaseLoadingView
2022-10-19 12:51:03 +08:00
swiftNSStringFromClass
2022-06-08 11:57:35 +08:00
*/
@property (nonatomic, copy) NSString *baseLoadingViewClass;
/**
FATBaseLoadFailedView
2022-10-19 12:51:03 +08:00
swiftNSStringFromClass
2022-06-08 11:57:35 +08:00
*/
@property (nonatomic, copy) NSString *baseLoadFailedViewClass;
2022-10-19 12:51:03 +08:00
/**
header
apikey
ft.requestft.downloadFileft.uploadFile
*/
@property (nonatomic, strong) NSDictionary *header;
/**
header
*/
@property (nonatomic, assign) FATConfigPriority headerPriority;
/**
H5hook
宿app http httpsH5request bodySDKhook request
body宿App宿Apprequestbody
URLProtocolbody
*/
@property (nonatomic, assign) BOOL enableH5AjaxHook;
/**
enableH5AjaxHookhook requestrequest url FinClipHookBridge-RequestId=xxx
Key FinClip-RequestIdFinClip-RequestId=xxx
*/
@property (nonatomic, copy) NSString *h5AjaxHookRequestKey;
/**
0
55navigateTo 4
*/
@property (nonatomic, assign) NSUInteger pageCountLimit;
/**
scheme
*/
@property (nonatomic, strong) NSArray<NSString *> *schemes;
2022-06-08 11:57:35 +08:00
#pragma mark - method
/// 创建config对象
/// @param appSecret appSecret也就是SDK Secret
/// @param appKey 也就是SDK Key
+ (instancetype)configWithAppSecret:(NSString *)appSecret appKey:(NSString *)appKey;
/**
config
@param storeConfigs
*/
+ (instancetype)configWithStoreConfigs:(NSArray<FATStoreConfig *> *)storeConfigs;
2022-10-19 12:51:03 +08:00
#pragma mark - deprecated api & property
/**
appKeySDK Key
api使
*/
@property (nonatomic, copy, readonly) NSString *appKey __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/**
SDK secret
*/
@property (nonatomic, copy, readonly) NSString *appSecret __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/**
* https://www.finclip.com
*/
@property (nonatomic, copy) NSString *apiServer __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/**
apm
apiServer
https://www.finclip.com
*/
@property (nonatomic, copy) NSString *apmServer __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/// 小程序SDK中的api加密默认为MD5
@property (nonatomic, assign) FATApiCryptType cryptType __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/**
SDK
*/
@property (nonatomic, copy) NSString *fingerprint __attribute__((deprecated("该api(自2.23.1起)废弃建议使用FATStoreConfig")));
/// api的版本自2.34.1起弃用)
@property (nonatomic, copy) NSString *apiPrefix __attribute__((deprecated("该api(自2.34.1起)废弃,使用后不起作用。")));
2022-06-08 11:57:35 +08:00
@end
NS_ASSUME_NONNULL_END