C# Class zxingwp7.qrcode.decoder.ErrorCorrectionLevel

See ISO 18004:2006, 6.5.1. This enum encapsulates the four error correction levels defined by the QR code standard.

Mostra file Open project: henningms/zxing2.0-wp7 Class Usage Examples

Public Properties

Property Type Description
H ErrorCorrectionLevel
L ErrorCorrectionLevel
M ErrorCorrectionLevel
Q ErrorCorrectionLevel

Public Methods

Method Description
ToString ( ) : String
forBits ( int bits ) : ErrorCorrectionLevel
ordinal ( ) : int

Private Methods

Method Description
ErrorCorrectionLevel ( int ordinal, int bits, String name ) : System

Method Details

ToString() public method

public ToString ( ) : String
return String

forBits() public static method

public static forBits ( int bits ) : ErrorCorrectionLevel
bits int int containing the two bits encoding a QR Code's error correction level ///
return ErrorCorrectionLevel

ordinal() public method

public ordinal ( ) : int
return int

Property Details

H public_oe static_oe property

H = ~30% correction
public static ErrorCorrectionLevel,zxingwp7.qrcode.decoder H
return ErrorCorrectionLevel

L public_oe static_oe property

L = ~7% correction
public static ErrorCorrectionLevel,zxingwp7.qrcode.decoder L
return ErrorCorrectionLevel

M public_oe static_oe property

M = ~15% correction
public static ErrorCorrectionLevel,zxingwp7.qrcode.decoder M
return ErrorCorrectionLevel

Q public_oe static_oe property

Q = ~25% correction
public static ErrorCorrectionLevel,zxingwp7.qrcode.decoder Q
return ErrorCorrectionLevel