public enum QrcodeType extends Enum<QrcodeType>
| Enum Constant and Description |
|---|
QR_LIMIT_SCENE
永久二维码,最多100000个
|
QR_LIMIT_STR_SCENE
永久二维码,字符串类型,长度限制为1到64
|
QR_SCENE
临时二维码,有过期时间,最长7天,604800s
|
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static QrcodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QrcodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QrcodeType QR_SCENE
public static final QrcodeType QR_LIMIT_SCENE
public static final QrcodeType QR_LIMIT_STR_SCENE
public static QrcodeType[] values()
for (QrcodeType c : QrcodeType.values()) System.out.println(c);
public static QrcodeType 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 String value()
Copyright © 2019. All rights reserved.