public enum BarcodeErrorLevel extends Enum<BarcodeErrorLevel>
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Enum Constant and Description |
---|
H
H 水平 30%的字码可被修正
|
L
L 水平 7%的字码可被修正
|
M
M 水平 15%的字码可被修正
|
Q
Q 水平 25%的字码可被修正
|
Modifier and Type | Method and Description |
---|---|
com.google.zxing.qrcode.decoder.ErrorCorrectionLevel |
getLevel()
获取纠错级别
|
static BarcodeErrorLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BarcodeErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BarcodeErrorLevel L
public static final BarcodeErrorLevel M
public static final BarcodeErrorLevel Q
public static final BarcodeErrorLevel H
public static BarcodeErrorLevel[] values()
for (BarcodeErrorLevel c : BarcodeErrorLevel.values()) System.out.println(c);
public static BarcodeErrorLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic com.google.zxing.qrcode.decoder.ErrorCorrectionLevel getLevel()
Copyright © 2024. All rights reserved.