Skip to end of metadata
Go to start of metadata

Represent AV capture scanner view.

Definition

public class AVCaptureScannerView : UIView, IBarcodeScanner<UIView>

Summary

The following table summarizes the members exposed in this class.

Public Constructors

AVCaptureScannerView Constructor() Initializes a new instance of the AVCaptureScannerView class.
AVCaptureScannerView Constructor(IntPtr) Initializes a new instance of the AVCaptureScannerView class.
AVCaptureScannerView Constructor(CGRect) Initializes a new instance of the AVCaptureScannerView class.

Public Properties

CancelButtonText Gets or sets the cancel button text.
CustomOverlayView Gets or sets the custom overlay view.
FlashButtonText Gets or sets the flash button text.
FooterText Gets or sets the footer text.
HeaderText Gets or sets the header text.
IsAnalyzing Gets a value indicating whether analyzing is in progress.
IsTorchOn Gets a value indicating whether the flash is on.
ScanningOptions Gets the scanning options.
UseCustomOverlayView Gets or sets a value indicating whether [use custom overlay view].

Static Methods

SupportsAllRequestedBarcodeFormats(IEnumerable<BarcodeFormat>) Supportses all requested barcode formats.

Public Methods

AutoFocus() Automatics the focus.
DidRotate(UIInterfaceOrientation) Check if the view is rotated.
Focus(CGPoint) Focuses the specified point of interest.
PauseAnalysis() Pauses the analysis.
ResizePreview(UIInterfaceOrientation) Resizes the preview.
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.

Public Constructors

public AVCaptureScannerView()

Initializes a new instance of the AVCaptureScannerView class.

public AVCaptureScannerView(IntPtr handle)

Initializes a new instance of the AVCaptureScannerView class.

Parameters

handle The handle.

public AVCaptureScannerView(CGRect frame)

Initializes a new instance of the AVCaptureScannerView class.

Parameters

frame The frame.

Public Properties

public string CancelButtonText { get; set; }

Gets or sets the cancel button text.

public UIView CustomOverlayView { get; set; }

Gets or sets the custom overlay view.

public string FlashButtonText { get; set; }

Gets or sets the flash button text.

public string FooterText { get; set; }

Gets or sets the footer text.

public string HeaderText { get; set; }

Gets or sets the header text.

public bool IsAnalyzing { get; }

Gets a value indicating whether analyzing is in progress.

public bool IsTorchOn { get; }

Gets a value indicating whether the flash is on.

public MobileBarcodeScanningOptions ScanningOptions { get; }

Gets the scanning options.

public bool UseCustomOverlayView { get; set; }

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

Static Methods

public static bool SupportsAllRequestedBarcodeFormats(IEnumerable<BarcodeFormat> formats)

Supportses all requested barcode formats.

Parameters

formats The formats.

Public Methods

public void AutoFocus()

Automatics the focus.

public void DidRotate(UIInterfaceOrientation orientation)

Check if the view is rotated.

Parameters

orientation The orientation.

public void Focus(CGPoint pointOfInterest)

Focuses the specified point of interest.

Parameters

pointOfInterest The point of interest.

public void PauseAnalysis()

Pauses the analysis.

public void ResizePreview(UIInterfaceOrientation orientation)

Resizes the preview.

Parameters

orientation The orientation.

public void ResumeAnalysis()

Resumes the analysis.

public void SetTorch(bool on)

Sets the torch.

Parameters

on True if the falsh will be set to on.

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

Starts the scanning.

Parameters

options The options.
callback The callback.

public void StartScanning(Action<Result> callback)

Starts the scanning.

Parameters

callback The callback.

public void StopScanning()

Stops the scanning.

public void ToggleTorch()

Toggles the torch.

  • No labels