Table of Contents

Class RecognitionProcessorBarcodeResult

Namespace
CapCognition.Net.BarcodeScanning.Common
Assembly
CapCognition.Net.BarcodeScanning.dll
public class RecognitionProcessorBarcodeResult : RecognitionProcessorResult
Inheritance
RecognitionProcessorBarcodeResult
Inherited Members

Properties

Bounds

The bounds of the recognized barcode.

public RectangleF Bounds { get; }

Property Value

RectangleF

Email

The recognized email information.

public RecognizedBarcodeContactInformation.Email? Email { get; }

Property Value

RecognizedBarcodeContactInformation.Email

Format

The barcode format.

public BarcodeRecognitionOptions.BarcodeFormat Format { get; }

Property Value

BarcodeRecognitionOptions.BarcodeFormat

Phone

The recognized phone information.

public RecognizedBarcodeContactInformation.Phone? Phone { get; }

Property Value

RecognizedBarcodeContactInformation.Phone

RawBytes

The raw bytes of the recognized barcode.

public byte[]? RawBytes { get; }

Property Value

byte[]

RecognizedBarcodeCalendarEvent

The recognized calendar event information.

public RecognizedBarcodeCalendarEventInformation? RecognizedBarcodeCalendarEvent { get; }

Property Value

RecognizedBarcodeCalendarEventInformation

RecognizedBarcodeContact

The recognized contact information.

public RecognizedBarcodeContactInformation? RecognizedBarcodeContact { get; }

Property Value

RecognizedBarcodeContactInformation

RecognizedBarcodeGeoPoint

The recognized geo point information.

public RecognizedBarcodeGeoPointInformation? RecognizedBarcodeGeoPoint { get; }

Property Value

RecognizedBarcodeGeoPointInformation

RecognizedBarcodeSms

Gets or sets the SMS information recognized from the scanned barcode.

public RecognizedBarcodeSMSInformation? RecognizedBarcodeSms { get; }

Property Value

RecognizedBarcodeSMSInformation

RecognizedBarcodeUrl

The recognized URL information.

public RecognizedBarcodeUrl? RecognizedBarcodeUrl { get; }

Property Value

RecognizedBarcodeUrl

RecognizedBarcodeWifiInfo

Gets or sets the Wi-Fi information recognized from the scanned barcode.

public RecognizedBarcodeWifiInformation? RecognizedBarcodeWifiInfo { get; }

Property Value

RecognizedBarcodeWifiInformation

Type

The type of the recognized barcode value of type RecognitionProcessorBarcodeResult.ValueType.

public RecognitionProcessorBarcodeResult.ValueType Type { get; }

Property Value

RecognitionProcessorBarcodeResult.ValueType

Value

The value of the recognized barcode in raw format.

public string? Value { get; }

Property Value

string

Methods

CreateFromResult(BarcodeResult)

Creates a new instance of the RecognitionProcessorBarcodeResult class from the specified CapCognition.Net.BarcodeScanning.BarcodeDecoder.BarcodeResult.

public static RecognitionProcessorBarcodeResult CreateFromResult(BarcodeResult bcr)

Parameters

bcr BarcodeResult

Returns

RecognitionProcessorBarcodeResult

DrawResult(SKCanvas, ResultDrawingOptions[]?)

Draws the result on the specified canvas.

public override void DrawResult(SKCanvas canvas, RecognitionProcessorResult.ResultDrawingOptions[]? resultDrawingOptions)

Parameters

canvas SKCanvas
resultDrawingOptions ResultDrawingOptions[]

ParseValue()

Parses the value of the recognized barcode and fills the value type specific properties.

public void ParseValue()

ToString()

Returns a string representation of the barcode result.

public override string ToString()

Returns

string