Part

public class Part

Handles scanning and processing of a Jumio.Credential.Part

  • A delegate implementing the Jumio.Scan.Part.Delegate protocol

    Declaration

    Swift

    public weak var delegate: Delegate? { get }
  • Describes Jumio.Scan.Mode which is currently in use

    Declaration

    Swift

    public var scanMode: Mode { get }
  • Indicates if a fallback Jumio.Scan.Mode is available

    Declaration

    Swift

    public var hasFallback: Bool { get }
  • Starts execution of this scan part

    Declaration

    Swift

    public func start()
  • Retry the execution of this scan part

    Declaration

    Swift

    public func retry(reason: Jumio.Retry.Reason)

    Parameters

    reason
  • Fallbacks to another Jumio.Scan.Mode if available

    Declaration

    Swift

    public func fallback()
  • Cancels the scan part

    Declaration

    Swift

    public func cancel()
  • Finishes the scan part

    Note

    Can be called only after Jumio.Scan.Step.canFinish event

    Declaration

    Swift

    public func finish()
  • Returns a help animation based on current Jumio.Scan.Mode or nil if not available

    Note

    Ensure this function is being called on the main-thread. Otherwise the function will always return nil

    Declaration

    Swift

    @available(*, deprecated, message: "This property will be removed in 4.10.0")
    public func getHelpAnimation() -> UIView?

    Return Value

    UIView containing a help animation