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 -> Int32Parameters
imagesList of the best shots.
completionResult.
-
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 -> BoolParameters
descriptorsList of the best shots descriptors.
completionResult.
LCOnlineLivenessProtocol Protocol Reference