Skip to end of metadata
Go to start of metadata

Represent mobile barcode scanner.

Definition

public class MobileBarcodeScanners : MobileBarcodeScannerBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

MobileBarcodeScanners Constructor() Initializes a new instance of the MobileBarcodeScanners class.
MobileBarcodeScanners Constructor(UIViewController) Initializes a new instance of the MobileBarcodeScanners class.

Public Properties

CustomOverlay Gets or sets the custom overlay.
IsTorchOn Gets a value indicating whether the flash is on.

Public Methods

AutoFocus() Automatics the focus.
Cancel() Cancels the scan.
Scan(bool) Start the scan.
Scan(MobileBarcodeScanningOptions) Run the barcode scanner.
Scan(MobileBarcodeScanningOptions, bool) Scans with the specified options.
ToggleTorch() Toggles the torch.
Torch(bool) Set the torch to.

Public Constructors

public MobileBarcodeScanners()

Initializes a new instance of the MobileBarcodeScanners class.

public MobileBarcodeScanners(UIViewController delegateController)

Initializes a new instance of the MobileBarcodeScanners class.

Parameters

delegateController The delegate controller.

Public Properties

public UIView CustomOverlay { get; set; }

Gets or sets the custom overlay.

public bool IsTorchOn { get; }

Gets a value indicating whether the flash is on.

Public Methods

public void AutoFocus()

Automatics the focus.

public void Cancel()

Cancels the scan.

public Task<Result> Scan(bool useAVCaptureEngine)

Start the scan.

Parameters

useAVCaptureEngine True if use av capture engine.

public Task<Result> Scan(MobileBarcodeScanningOptions options)

Run the barcode scanner.

Parameters

options The options.

public Task<Result> Scan(MobileBarcodeScanningOptions options, bool useAVCaptureEngine)

Scans with the specified options.

Parameters

options The options.
useAVCaptureEngine True if use av capture engine.

public void ToggleTorch()

Toggles the torch.

public void Torch(bool on)

Set the torch to.

Parameters

on True if the torch will be set to on.
  • No labels