Skip to end of metadata
Go to start of metadata

Defines member needed for barcode scanner.

Definition

public interface IBarcodeScanner<TOverlayViewType>

Type Parameters

TOverlayViewType The type of the overlay view type.

Summary

The following table summarizes the members exposed in this interface.

Properties

CustomOverlayView Gets or sets the custom overlay view.
FooterText Gets or sets the footer text.
HeaderText Gets or sets the header text.
IsAnalyzing Gets a value indicating whether this instance is analyzing.
IsTorchOn Gets a value indicating whether this instance is torch on.
ScanningOptions Gets the scanning options.
UseCustomOverlayView Gets or sets a value indicating whether [use custom overlay view].

Methods

AutoFocus() Automatics the focus.
PauseAnalysis() Pauses the analysis.
ResumeAnalysis() Resumes the analysis.
SetTorch(bool) Sets the torch.
StartScanning(MobileBarcodeScanningOptions, Action<Result>) Starts the scanning.
StartScanning(Action<Result>) Starts the scanning.
StopScanning() Stops the scanning.
ToggleTorch() Toggles the torch.

Properties

TOverlayViewType CustomOverlayView { get; set; }

Gets or sets the custom overlay view.

string FooterText { get; set; }

Gets or sets the footer text.

string HeaderText { get; set; }

Gets or sets the header text.

bool IsAnalyzing { get; }

Gets a value indicating whether this instance is analyzing.

bool IsTorchOn { get; }

Gets a value indicating whether this instance is torch on.

MobileBarcodeScanningOptions ScanningOptions { get; }

Gets the scanning options.

bool UseCustomOverlayView { get; set; }

Gets or sets a value indicating whether [use custom overlay view].

Methods

void AutoFocus()

Automatics the focus.

void PauseAnalysis()

Pauses the analysis.

void ResumeAnalysis()

Resumes the analysis.

void SetTorch(bool on)

Sets the torch.

Parameters

on if set to true [on].

void StartScanning(MobileBarcodeScanningOptions options, Action<Result> callback)

Starts the scanning.

Parameters

options The options.
callback The callback.

void StartScanning(Action<Result> callback)

Starts the scanning.

Parameters

callback The callback.

void StopScanning()

Stops the scanning.

void ToggleTorch()

Toggles the torch.

  • No labels