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.