ScanProcessor
public class ScanProcessor
Class for processing a scanned Usher Code
-
Initialization
Declaration
Swift
public init() -
Scan processing completion block
Declaration
Swift
public typealias ScanProcessorCompletion = ((_ result: ScanProcessorResult) -> Void) -
Process a scanned code.
Seealso
ScanProcessorResultDeclaration
Swift
public func process(_ code: String, type: AVMetadataObject.ObjectType, completion: ScanProcessorCompletion?)Parameters
codeString representation of the scanned code.
typeThe type of the scanned code as reported by iOS.
completionThe completion block that will be called with the result of scan processing
ScanProcessor Class Reference