JumioScanView
public final class JumioScanView : UIView, Jumio.View
A custom view to display the camera preview and enable scanning of a Jumio.Scan.Part
-
Indicates if a manual shutter button needs to be displayed
Declaration
Swift
public var isShutterEnabled: Bool { get }
-
Indicates if camera switch button needs to be displayed
Declaration
Swift
public var isSwitchEnabled: Bool { get }
-
Indicates if the current camera has a flash light
Declaration
Swift
public var hasFlash: Bool { get }
-
Responsible for the
Jumio.CameraFacing
of this scan viewDeclaration
Swift
public var cameraFacing: Jumio.CameraFacing { get set }
-
Controls the flash light if available
Declaration
Swift
public var flash: Bool { get set }
-
Controls the image extraction of the camera feed
Declaration
Swift
public var extraction: Bool { get set }
-
Attach the scan view to
Jumio.Scan.Part
afterJumio.Scan.Step.scanView
event has been received to enable scanningDeclaration
Swift
public func attach(scanPart: Jumio.Scan.Part)
Parameters
scanPart
Jumio.Scan.Part
instance -
Takes picture for
Jumio.Scan.Mode.manual
andJumio.Scan.Mode.faceManual
Declaration
Swift
public func takePicture()
-
Switches to the next camera
Declaration
Swift
public func switchCamera()
-
Resumes the camera feed
Declaration
Swift
public func resume()
-
Pauses the camera feed
Declaration
Swift
public func pause()
-
Starts the camera extraction
Declaration
Swift
public func startExtraction()
-
Stops the camera extraction with the option to hide the camera preview.
Declaration
Swift
public func stopExtraction(hidePreview: Bool)
Parameters
hidePreview
Bool