C# Class zxingwp7.MultiFormatReader

MultiFormatReader is a convenience class and the main entry point into the library for most uses. By default it attempts to decode all barcode formats that the library supports. Optionally, you can provide a hints object to request different behavior, for example only decoding QR codes.
Inheritance: Reader
Datei anzeigen Open project: henningms/zxing2.0-wp7

Public Methods

Method Description
decode ( BinaryBitmap image ) : Result

This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. Use setHints() followed by decodeWithState() for continuous scan applications.

decode ( BinaryBitmap image, Object>.Dictionary hints ) : Result

Decode an image using the hints provided. Does not honor existing state.

decodeWithState ( BinaryBitmap image ) : Result

Decode an image using the state set up by calling setHints() previously. Continuous scan clients will get a large speed increase by using this instead of decode().

Private Methods

Method Description
decodeInternal ( BinaryBitmap image ) : Result

Method Details

decode() public method

This version of decode honors the intent of Reader.decode(BinaryBitmap) in that it passes null as a hint to the decoders. However, that makes it inefficient to call repeatedly. Use setHints() followed by decodeWithState() for continuous scan applications.
public decode ( BinaryBitmap image ) : Result
image BinaryBitmap The pixel data to decode ///
return Result

decode() public method

Decode an image using the hints provided. Does not honor existing state.
public decode ( BinaryBitmap image, Object>.Dictionary hints ) : Result
image BinaryBitmap The pixel data to decode ///
hints Object>.Dictionary The hints to use, clearing the previous state. ///
return Result

decodeWithState() public method

Decode an image using the state set up by calling setHints() previously. Continuous scan clients will get a large speed increase by using this instead of decode().
public decodeWithState ( BinaryBitmap image ) : Result
image BinaryBitmap The pixel data to decode ///
return Result