LivenessAPIv6

public class LivenessAPIv6 : NSObject, LunaCore.LCOnlineLivenessProtocol

Liveness API v6. Enables to check photos or descriptors for Liveness.

  • Initializer.

    Declaration

    Swift

    public init(configuration: LunaCore.LCLunaConfiguration)

    Parameters

    configuration

    Luna ID SDK configuration.

  • Checks a set of photos on Liveness. @param images List of photos of the best shots. @param completion Result.

    Declaration

    Swift

    public func checkOnline(with images: [UIImage], completion: @escaping (Int32, Error?) -> Void)
  • Checks descriptors for track end. @param descriptors List of the best shots descriptors. @param completion Result.

    Declaration

    Swift

    public func checkOnline(withDescriptors descriptors: [Data], completion: @escaping (Bool, Error?) -> Void)