Korean translation from Chang Hyun Park
[zxing.git] / csharp / ResultMetadataType.cs
1 /*\r
2 * Copyright 2008 ZXing authors\r
3 *\r
4 * Licensed under the Apache License, Version 2.0 (the "License");\r
5 * you may not use this file except in compliance with the License.\r
6 * You may obtain a copy of the License at\r
7 *\r
8 *      http://www.apache.org/licenses/LICENSE-2.0\r
9 *\r
10 * Unless required by applicable law or agreed to in writing, software\r
11 * distributed under the License is distributed on an "AS IS" BASIS,\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 * See the License for the specific language governing permissions and\r
14 * limitations under the License.\r
15 */\r
16 using System;\r
17 namespace com.google.zxing\r
18 {\r
19         \r
20         /// <summary> Represents some type of metadata about the result of the decoding that the decoder\r
21         /// wishes to communicate back to the caller.\r
22         /// \r
23         /// </summary>\r
24         /// <author>  Sean Owen\r
25         /// </author>\r
26         /// <author>www.Redivivus.in (suraj.supekar@redivivus.in) - Ported from ZXING Java Source \r
27         /// </author>\r
28 \r
29         public sealed class ResultMetadataType\r
30         {\r
31                 \r
32                 // No, we can't use an enum here. J2ME doesn't support it.\r
33                 \r
34                 /// <summary> Unspecified, application-specific metadata. Maps to an unspecified {@link Object}.</summary>\r
35                 //UPGRADE_NOTE: Final was removed from the declaration of 'OTHER '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"\r
36                 public static readonly ResultMetadataType OTHER = new ResultMetadataType();\r
37                 \r
38                 /// <summary> Denotes the likely approximate orientation of the barcode in the image. This value\r
39                 /// is given as degrees rotated clockwise from the normal, upright orientation.\r
40                 /// For example a 1D barcode which was found by reading top-to-bottom would be\r
41                 /// said to have orientation "90". This key maps to an {@link Integer} whose\r
42                 /// value is in the range [0,360).\r
43                 /// </summary>\r
44                 //UPGRADE_NOTE: Final was removed from the declaration of 'ORIENTATION '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"\r
45                 public static readonly ResultMetadataType ORIENTATION = new ResultMetadataType();\r
46                 \r
47                 /// <summary> <p>2D barcode formats typically encode text, but allow for a sort of 'byte mode'\r
48                 /// which is sometimes used to encode binary data. While {@link Result} makes available\r
49                 /// the complete raw bytes in the barcode for these formats, it does not offer the bytes\r
50                 /// from the byte segments alone.</p>\r
51                 /// \r
52                 /// <p>This maps to a {@link java.util.Vector} of byte arrays corresponding to the\r
53                 /// raw bytes in the byte segments in the barcode, in order.</p>\r
54                 /// </summary>\r
55                 //UPGRADE_NOTE: Final was removed from the declaration of 'BYTE_SEGMENTS '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"\r
56                 public static readonly ResultMetadataType BYTE_SEGMENTS = new ResultMetadataType();\r
57                 \r
58                 /// <summary> Error correction level used, if applicable. The value type depends on the\r
59                 /// format, but is typically a String.\r
60                 /// </summary>\r
61                 //UPGRADE_NOTE: Final was removed from the declaration of 'ERROR_CORRECTION_LEVEL '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"\r
62                 public static readonly ResultMetadataType ERROR_CORRECTION_LEVEL = new ResultMetadataType();\r
63                 \r
64                 private ResultMetadataType()\r
65                 {\r
66                 }\r
67         }\r
68 }