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

143 lines
4.0 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
/**
appKeySDK Key
api使
*/
@property (nonatomic, copy, readonly) NSString *appKey;
/**
SDK secret
*/
@property (nonatomic, copy, readonly) NSString *appSecret;
/**
* https://www.finclip.com
*/
@property (nonatomic, copy) NSString *apiServer;
/**
apm
apiServer
https://www.finclip.com
*/
@property (nonatomic, copy) NSString *apmServer;
/// api的版本已弃用
@property (nonatomic, copy) NSString *apiPrefix __attribute__((deprecated("已弃用,使用后不起作用。")));
/// 小程序SDK中的api加密默认为MD5
@property (nonatomic, assign) FATApiCryptType cryptType;
/**
SDK
*/
@property (nonatomic, copy) NSString *fingerprint;
@property (nonatomic, copy, readonly) NSArray<FATStoreConfig *> *storeConfigs;
/**
id
userId
*/
@property (nonatomic, copy) NSString *currentUserId;
/**
SDK
YESSDK使api
*/
@property (nonatomic, assign) BOOL disableAuthorize;
/**
YES
*/
@property (nonatomic, assign) BOOL appletAutoAuthorize;
/**
SDKAPINO
YESSDKAPI
*/
@property (nonatomic, assign) BOOL disableGetSuperviseInfo;
/**
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
YESvconsole
NOvconsole
*/
@property (nonatomic, assign) BOOL enableAppletDebug;
/**
FATBaseLoadingView
*/
@property (nonatomic, copy) NSString *baseLoadingViewClass;
/**
FATBaseLoadFailedView
*/
@property (nonatomic, copy) NSString *baseLoadFailedViewClass;
#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;
@end
NS_ASSUME_NONNULL_END