ProGloveScanner

@MainActor
public final class ProGloveScanner : NSObject, BarcodeScanner

Fallback implementation for ProGloveScanner when the ConnectSDK is not available.

This version provides a non-functional scanner that always reports an SDK availability error.

  • The type of this scanner, .proGlove.

    Declaration

    Swift

    @MainActor
    public let type: ScannerType
  • The delegate, which will receive status updates.

    Declaration

    Swift

    @MainActor
    public weak var delegate: BarcodeScannerDelegate?
  • The current status, always indicating the SDK is not available.

    Declaration

    Swift

    @MainActor
    public private(set) var currentStatus: ScannerStatus { get set }
  • Initializes the fallback ProGlove scanner.

    Declaration

    Swift

    @MainActor
    override public init()
  • startMonitoring() Asynchronous

    Does nothing as the SDK is not available. Reports current error status.

    Declaration

    Swift

    @MainActor
    public func startMonitoring() async throws
  • Does nothing as the SDK is not available.

    Declaration

    Swift

    @MainActor
    public func stopMonitoring()
  • triggerScan() Asynchronous

    Does nothing as the SDK is not available.

    Declaration

    Swift

    @MainActor
    public func triggerScan() async throws
  • Returns nil as QR code generation is not possible without the SDK. Reports current error status.

    Declaration

    Swift

    @MainActor
    public func getPairingQRCode() -> Image?
  • Does nothing as the SDK is not available.

    Declaration

    Swift

    @MainActor
    public func updateScannerDisplay(data: ScannerDisplayData)
  • Does nothing as the SDK is not available. Reports current error status.

    Declaration

    Swift

    @MainActor
    public func reset()
  • Always returns false as the SDK is not available.

    Declaration

    Swift

    @MainActor
    public func isAvailable() -> Bool