Files
yinmeng-ios/xplan-ios/Library/RPSDK/RPSDK.framework/Headers/RPConfiguration.h

117 lines
2.6 KiB
C
Raw Normal View History

2021-09-23 14:52:12 +08:00
//
// RPConfiguration.h
// ALRealIdentity
//
// Created by Hank Zhang on 2020/2/20.
// Copyright © 2020 Alibaba. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
NS_ENUM(NSInteger, RPTransitionStyle)
*/
typedef NS_ENUM(NSInteger, RPTransitionStyle) {
/**
present
*/
RPTransitionStylePresent = 0,
/**
push
*/
RPTransitionStylePush,
};
/**
`RPViewControllerHandler`
@param viewController
*/
typedef void (^RPViewControllerHandler)(UIViewController *viewController);
/**
`RPConfiguration`
*/
NS_SWIFT_NAME(RPConfiguration)
@interface RPConfiguration : NSObject
/**
UI path
*/
@property (nonatomic, copy) NSString *customUIPath;
/**
*/
@property (nonatomic, assign) BOOL isMutedByDefault;
/**
退
*/
@property (nonatomic, assign) BOOL shouldAlertOnExit;
/**
webview
*/
@property (nonatomic, assign) BOOL shouldRestoreWebview;
/**
*/
@property (nonatomic, assign) BOOL showErrorResultPage;
2022-05-17 18:11:11 +08:00
/**
native start
*/
@property (nonatomic, assign) BOOL shouldWaitResult DEPRECATED_MSG_ATTRIBUTE("v4.8.0 废弃,请及时删除, 默认等待服务端认证结果");
2021-09-23 14:52:12 +08:00
/**
*/
@property (nonatomic, copy, nullable) RPViewControllerHandler presentHandler;
/**
*/
@property (nonatomic, copy, nullable) RPViewControllerHandler dismissHandler;
/**
2022-05-17 18:11:11 +08:00
present present push nav VC
2021-09-23 14:52:12 +08:00
*/
@property (nonatomic, assign) RPTransitionStyle transitionStyle;
/**
*/
@property (nonatomic, assign) BOOL isTransitionAnimationEnabled;
/**
,
*/
@property (nonatomic, strong, nullable) NSString *fromSource;
/**
@return
*/
+ (instancetype)configuration;
/**
使 [RPConfiguration configuration]
@return
*/
- (instancetype)init NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END