C# Class zxingwp7.qrcode.decoder.Mode

See ISO 18004:2006, 6.4.1, Tables 2 and 3. This enum encapsulates the various modes in which data can be encoded to bits in the QR code standard.

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

Public Properties

Property Type Description
ALPHANUMERIC Mode
BYTE Mode
ECI Mode
FNC1_FIRST_POSITION Mode
FNC1_SECOND_POSITION Mode
KANJI Mode
NUMERIC Mode
STRUCTURED_APPEND Mode
TERMINATOR Mode

Public Methods

Method Description
ToString ( ) : String
forBits ( int bits ) : Mode
getCharacterCountBits ( Version version ) : int

Private Methods

Method Description
Mode ( int characterCountBitsForVersions, int bits, String name ) : System

Method Details

ToString() public method

public ToString ( ) : String
return String

forBits() public static method

public static forBits ( int bits ) : Mode
bits int four bits encoding a QR Code data mode ///
return Mode

getCharacterCountBits() public method

public getCharacterCountBits ( Version version ) : int
version Version version in question ///
return int

Property Details

ALPHANUMERIC public static property

public static Mode,zxingwp7.qrcode.decoder ALPHANUMERIC
return Mode

BYTE public static property

public static Mode,zxingwp7.qrcode.decoder BYTE
return Mode

ECI public static property

public static Mode,zxingwp7.qrcode.decoder ECI
return Mode

FNC1_FIRST_POSITION public static property

public static Mode,zxingwp7.qrcode.decoder FNC1_FIRST_POSITION
return Mode

FNC1_SECOND_POSITION public static property

public static Mode,zxingwp7.qrcode.decoder FNC1_SECOND_POSITION
return Mode

KANJI public static property

public static Mode,zxingwp7.qrcode.decoder KANJI
return Mode

NUMERIC public static property

public static Mode,zxingwp7.qrcode.decoder NUMERIC
return Mode

STRUCTURED_APPEND public static property

public static Mode,zxingwp7.qrcode.decoder STRUCTURED_APPEND
return Mode

TERMINATOR public static property

public static Mode,zxingwp7.qrcode.decoder TERMINATOR
return Mode