Gs1Handling

GS1_COMPOSITE barcode type handling

Entries

Link copied to clipboard

The (FNC1) character is simply stripped from the result in barcodes that implement this mode. Do not use. Will be removed in a future release.

Link copied to clipboard

GS1 messages are converted to the machine-readable format per the GS1 spec (the special FNC1 character is converted to ASCII \x1D). The implied 01 AI key is prepended to DataBar results. No validation is performed.

Link copied to clipboard

Same as PARSE. Additionally, messages containing unknown AI keys, or containing values of incorrect format for known keys, are not returned.

Link copied to clipboard

Same as VALIDATE_STRUCTURE, except that GS1 strings are converted to the human-readable format, instead (with parentheses used to wrap AI keys, e.g. (01)123456789). The \x1D character is never used in this representation.

Link copied to clipboard

Full validation including linting and checksums. This is the most strict mode.

Link copied to clipboard

Same as DECODE_STRUCTURE, but with full validation.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.