mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 05:24:06 -08:00
7616c4d06d
git-svn-id: https://zxing.googlecode.com/svn/trunk@2558 59b500cc-1b3d-0410-9834-0bbf25fbcc57
84 lines
2.9 KiB
C#
Executable file
84 lines
2.9 KiB
C#
Executable file
/*
|
|
* Copyright 2008 ZXing authors
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
namespace com.google.zxing
|
|
{
|
|
|
|
/// <summary>
|
|
/// Represents some type of metadata about the result of the decoding that the decoder
|
|
/// wishes to communicate back to the caller.
|
|
///
|
|
/// @author Sean Owen
|
|
/// </summary>
|
|
public enum ResultMetadataType
|
|
{
|
|
|
|
/// <summary>
|
|
/// Unspecified, application-specific metadata. Maps to an unspecified <seealso cref="Object"/>.
|
|
/// </summary>
|
|
OTHER,
|
|
|
|
/// <summary>
|
|
/// Denotes the likely approximate orientation of the barcode in the image. This value
|
|
/// is given as degrees rotated clockwise from the normal, upright orientation.
|
|
/// For example a 1D barcode which was found by reading top-to-bottom would be
|
|
/// said to have orientation "90". This key maps to an <seealso cref="Integer"/> whose
|
|
/// value is in the range [0,360).
|
|
/// </summary>
|
|
ORIENTATION,
|
|
|
|
/// <summary>
|
|
/// <p>2D barcode formats typically encode text, but allow for a sort of 'byte mode'
|
|
/// which is sometimes used to encode binary data. While <seealso cref="Result"/> makes available
|
|
/// the complete raw bytes in the barcode for these formats, it does not offer the bytes
|
|
/// from the byte segments alone.</p>
|
|
///
|
|
/// <p>This maps to a <seealso cref="java.util.List"/> of byte arrays corresponding to the
|
|
/// raw bytes in the byte segments in the barcode, in order.</p>
|
|
/// </summary>
|
|
BYTE_SEGMENTS,
|
|
|
|
/// <summary>
|
|
/// Error correction level used, if applicable. The value type depends on the
|
|
/// format, but is typically a String.
|
|
/// </summary>
|
|
ERROR_CORRECTION_LEVEL,
|
|
|
|
/// <summary>
|
|
/// For some periodicals, indicates the issue number as an <seealso cref="Integer"/>.
|
|
/// </summary>
|
|
ISSUE_NUMBER,
|
|
|
|
/// <summary>
|
|
/// For some products, indicates the suggested retail price in the barcode as a
|
|
/// formatted <seealso cref="String"/>.
|
|
/// </summary>
|
|
SUGGESTED_PRICE,
|
|
|
|
/// <summary>
|
|
/// For some products, the possible country of manufacture as a <seealso cref="String"/> denoting the
|
|
/// ISO country code. Some map to multiple possible countries, like "US/CA".
|
|
/// </summary>
|
|
POSSIBLE_COUNTRY,
|
|
|
|
/// <summary>
|
|
/// For some products, the extension text
|
|
/// </summary>
|
|
UPC_EAN_EXTENSION,
|
|
|
|
}
|
|
|
|
} |