Class RecognitionProcessorBarcodeResult
- Namespace
- CapCognition.Maui.BarcodeScanning
- Assembly
- CapCognition.Maui.BarcodeScanning.dll
public class RecognitionProcessorBarcodeResult : RecognitionProcessorResult
- Inheritance
-
RecognitionProcessorBarcodeResult
- Inherited Members
Constructors
RecognitionProcessorBarcodeResult(BarcodeRecognitionOptions)
public RecognitionProcessorBarcodeResult(BarcodeRecognitionOptions options)
Parameters
optionsBarcodeRecognitionOptions
Properties
Bounds
Bounds of the barcode result.
public RectangleF Bounds { get; set; }
Property Value
When the barcode result is an email, this property contains the parsed information.
public RecognizedBarcodeContactInformation.Email? Email { get; set; }
Property Value
Format
Format of the barcode result.
public BarcodeRecognitionOptions.BarcodeFormat Format { get; set; }
Property Value
Phone
When the barcode result is a phone number, this property contains the parsed information.
public RecognizedBarcodeContactInformation.Phone? Phone { get; set; }
Property Value
RawBytes
The raw bytes of the barcode result.
public byte[]? RawBytes { get; set; }
Property Value
- byte[]
RecognizedBarcodeCalendarEvent
When the barcode result is a calendar event, this property contains the parsed information.
public RecognizedBarcodeCalendarEventInformation? RecognizedBarcodeCalendarEvent { get; set; }
Property Value
RecognizedBarcodeContact
When the barcode result is a contact information, this property contains the parsed information.
public RecognizedBarcodeContactInformation? RecognizedBarcodeContact { get; set; }
Property Value
RecognizedBarcodeGeoPoint
When the barcode result is a geo point, this property contains the parsed information.
public RecognizedBarcodeGeoPointInformation? RecognizedBarcodeGeoPoint { get; set; }
Property Value
RecognizedBarcodeSms
When the barcode result is an SMS, this property contains the parsed information.
public RecognizedBarcodeSMSInformation? RecognizedBarcodeSms { get; set; }
Property Value
RecognizedBarcodeUrl
When the barcode result is a URL, this property contains the parsed information.
public RecognizedBarcodeUrl? RecognizedBarcodeUrl { get; set; }
Property Value
RecognizedBarcodeWifiInfo
When the barcode result is a wifi information, this property contains the parsed information.
public RecognizedBarcodeWifiInformation? RecognizedBarcodeWifiInfo { get; set; }
Property Value
Type
The parsed type of the raw result value of type RecognitionProcessorBarcodeResult.ValueType.
public RecognitionProcessorBarcodeResult.ValueType Type { get; set; }
Property Value
Value
The value of the barcode result as string.
public string? Value { get; set; }
Property Value
Methods
DrawResult(SKCanvas)
Draws the result on the given canvas
public override void DrawResult(SKCanvas canvas)
Parameters
canvasSKCanvasThe canvas to paint on the result
ParseValue()
Parse the value of the barcode result. Call this method the interpret the value. Note: The following properties will be set after calling this method:
public void ParseValue()
ToString()
Returns a string representation of the barcode recognition result.
public override string ToString()