Credential
public class Credential
Handles the Jumio.Scan.Part initialization and the credential lifecycle
-
Represents all the
Jumio.Scan.Partthat are required for this credential -
Indicates if this credential is configured and
scanSidesare available.Note
ifisConfiguredisfalsethen callsetConfiguration(...)of the specific credential classDeclaration
Swift
public var isConfigured: Bool { get } -
Indicates if all
Jumio.Scan.Partof this credential have been successfully completedDeclaration
Swift
public var isComplete: Bool { get } -
Initializes and returns a
Jumio.Scan.Partbased on the providedJumio.Credential.PartDeclaration
Parameters
credentialPartscanPartDelegateJumio.Scan.Part.DelegateimplementationReturn Value
Jumio.Scan.Partinstance -
cancel()AsynchronousCancels the credential
Declaration
Swift
public func cancel() async -
Finishes the credential in case
isCompleteistrueDeclaration
Swift
public func finish() -
Supported credential categories
See moreDeclaration
Swift
public enum Category -
Represents a
See moreJumio.CredentialDeclaration
Swift
public struct Info -
Supported credential part
See moreDeclaration
Swift
public enum Part
View on GitHub