LCOnlineLivenessProtocol
Objective-C
@protocol LCOnlineLivenessProtocol <NSObject>
Swift
protocol LCOnlineLivenessProtocol : NSObjectProtocol
Interface of the object which checks Liveness.
-
Checks the photos for Liveness.
Declaration
Objective-C
- (void)checkOnlineWithImages:(nonnull NSArray<UIImage *> *)images completion: (nonnull void (^)(int, NSError *_Nullable))completion;
Swift
func checkOnline(with images: [UIImage]) async throws -> Int32
Parameters
images
List of the best shots.
completion
Result.
-
Checks descriptors for track end.
Declaration
Objective-C
- (void)checkOnlineWithDescriptors:(nonnull NSArray<NSData *> *)descriptors completion:(nonnull void (^)(BOOL, NSError *_Nullable)) completion;
Swift
func checkOnline(withDescriptors descriptors: [Data]) async throws -> Bool
Parameters
descriptors
List of the best shots descriptors.
completion
Result.