C# Class ZXing.QrCode.Internal.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: cyberh0me/OTP Class Usage Examples

Public Properties

Property Type Description
ALPHANUMERIC Mode
BYTE Mode
ECI Mode
FNC1_FIRST_POSITION Mode
FNC1_SECOND_POSITION Mode
HANZI 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, System 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,ZXing.QrCode.Internal ALPHANUMERIC
return Mode

BYTE public static property

public static Mode,ZXing.QrCode.Internal BYTE
return Mode

ECI public static property

public static Mode,ZXing.QrCode.Internal ECI
return Mode

FNC1_FIRST_POSITION public static property

public static Mode,ZXing.QrCode.Internal FNC1_FIRST_POSITION
return Mode

FNC1_SECOND_POSITION public static property

public static Mode,ZXing.QrCode.Internal FNC1_SECOND_POSITION
return Mode

HANZI public static property

See GBT 18284-2000; "Hanzi" is a transliteration of this mode name.
public static Mode,ZXing.QrCode.Internal HANZI
return Mode

KANJI public static property

public static Mode,ZXing.QrCode.Internal KANJI
return Mode

NUMERIC public static property

public static Mode,ZXing.QrCode.Internal NUMERIC
return Mode

STRUCTURED_APPEND public static property

public static Mode,ZXing.QrCode.Internal STRUCTURED_APPEND
return Mode

TERMINATOR public static property

public static Mode,ZXing.QrCode.Internal TERMINATOR
return Mode