VerIDSessionResult
@objc(VerIDSessionResult)
public class VerIDSessionResult : NSObject, Codable
Represents a result of face detection and authentication
-
Error produced by the session or
nilif the session is successfulDeclaration
Swift
@objc public var error: Error? -
URL of a video of the session. Only collected if the corresponding session settings had
videoURLset.Declaration
Swift
@objc public var videoURL: URL? -
Constructs a result with error
Declaration
Swift
@objc public init(error: Error)Parameters
errorError
-
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Detected faces
Declaration
Swift
@objc public var faces: [RecognizableFace] { get } -
Set of face bearings collected in the session
Declaration
Swift
public var detectedBearings: Set<Bearing> { get } -
Faces with given bearing
Declaration
Swift
@objc public func faces(withBearing bearing: Bearing) -> [RecognizableFace]Parameters
bearingRequested face bearing
Return Value
Array of faces
VerIDSessionResult Class Reference