LCLunaConfiguration
Objective-C
@interface LCLunaConfiguration : NSObject
Swift
class LCLunaConfiguration : NSObject
Luna ID SDK configuration.
-
Returns the default configuration.
Declaration
Objective-C
+ (nonnull instancetype)defaultConfig;
Swift
class func defaultConfig() -> Self
-
Undocumented
Declaration
Objective-C
- (BOOL)hasSettings;
Swift
func hasSettings() -> Bool
-
Undocumented
Declaration
Objective-C
- (NSString *)lunaIDSDKVersion;
Swift
func lunaIDSDKVersion() -> String
-
Undocumented
Declaration
Objective-C
- (NSString *)lunaSDKVersion;
Swift
func lunaSDKVersion() -> String
-
Makes License activation with some platform specific manner. Network connection is required.
Declaration
Objective-C
- (void)activateLicense;
Swift
func activateLicense()
-
This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull verifyID;
Swift
var verifyID: String { get set }
-
This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull identifyHandlerID;
Swift
var identifyHandlerID: String { get set }
-
This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull registrationHandlerID;
Swift
var registrationHandlerID: String { get set }
-
Luna ID authorization token. This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Note
Uses only on APIv4.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull lunaAuthToken;
Swift
var lunaAuthToken: String { get set }
-
Luna Account ID. This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Note
Uses only on APIv6.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull lunaAccountID;
Swift
var lunaAccountID: String { get set }
-
Luna server URL. This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSURL *lunaServerURL;
Swift
var lunaServerURL: URL? { get set }
-
This property is stored in UserDefaults so any instance of LCLunaConfiguration class will operate with the same value
Declaration
Objective-C
@property (nonatomic) LivenessType livenessType;
Swift
var livenessType: LivenessType { get set }
-
NOT IN USERDEFAULTS!!!! Quality of the image sent on the server. Value from 0 to 1. Value 0 is maximum compression, value 1 is no compression. 0.8 by default.
Declaration
Objective-C
@property (nonatomic) CGFloat compressionQuality;
Swift
var compressionQuality: CGFloat { get set }
-
Sign of displaying the camera switching button. NO by default for Release, YES for Debug.
Declaration
Objective-C
@property (nonatomic) BOOL isShowSwitchCamera;
Swift
var isShowSwitchCamera: Bool { get set }
-
Sign of inclusion of interaction in authorization processes.
Declaration
Objective-C
@property (nonatomic) BOOL interactionEnabled;
Swift
var interactionEnabled: Bool { get set }
-
A flag to include OCR in authorization processes.
Declaration
Objective-C
@property (nonatomic) BOOL ocrEnabled;
Swift
var ocrEnabled: Bool { get set }
-
A flag to include geolocation in authorization processes. NO by default.
Declaration
Objective-C
@property (nonatomic) BOOL locationEnabled;
Swift
var locationEnabled: Bool { get set }
-
Interaction timeout. 5 seconds by default.
Declaration
Objective-C
@property (nonatomic) NSTimeInterval interactionTimeout;
Swift
var interactionTimeout: TimeInterval { get set }
-
Verification threshold of a document with a best shot. 0.7 by default.
Declaration
Objective-C
@property (nonatomic) CGFloat documentVerificationMatch;
Swift
var documentVerificationMatch: CGFloat { get set }
-
Image type. PNG by default.
Declaration
Objective-C
@property (nonatomic) LCLunaConfigurationImageType imageType;
Swift
var imageType: LCLunaConfigurationImageType { get set }
-
Use prebuilt descriptors.
Declaration
Objective-C
@property (nonatomic) BOOL usePrebuiltDescriptors;
Swift
var usePrebuiltDescriptors: Bool { get set }
-
Use prebuilt descriptors.
Declaration
Objective-C
@property (nonatomic) BOOL uploadImagesForLiveness;
Swift
var uploadImagesForLiveness: Bool { get set }
-
Best shot configuration.
Declaration
Objective-C
@property (nonatomic, strong) LCBestShotConfiguration *_Nonnull bestShotConfiguration;
Swift
var bestShotConfiguration: LCBestShotConfiguration { get set }