public enum AgentMenuBtnType extends Enum<AgentMenuBtnType>
Enum Constant and Description |
---|
CLICK
点击推事件
|
LOCATION_SELECT
弹出地理位置选择器
|
PIC_PHOTO_OR_ALBUM
弹出拍照或者相册发图
|
PIC_SYSPHOTO
弹出系统拍照发图
|
PIC_WEIXIN
弹出企业微信相册发图器
|
SCANCODE_PUSH
扫码推事件
|
SCANCODE_WAITMSG
扫码推事件 且弹出“消息接收中”提示框
|
VIEW
跳转URL
|
VIEW_MINIPROGRAM
跳转到小程序
|
Modifier and Type | Method and Description |
---|---|
static AgentMenuBtnType |
deserialize(String type)
Deserialize AgentMenuBtnType
|
String |
getType()
Gets type.
|
static AgentMenuBtnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentMenuBtnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentMenuBtnType CLICK
public static final AgentMenuBtnType VIEW
public static final AgentMenuBtnType SCANCODE_PUSH
public static final AgentMenuBtnType SCANCODE_WAITMSG
public static final AgentMenuBtnType PIC_SYSPHOTO
public static final AgentMenuBtnType PIC_PHOTO_OR_ALBUM
public static final AgentMenuBtnType PIC_WEIXIN
public static final AgentMenuBtnType LOCATION_SELECT
public static final AgentMenuBtnType VIEW_MINIPROGRAM
private final String type
public static AgentMenuBtnType[] values()
for (AgentMenuBtnType c : AgentMenuBtnType.values()) System.out.println(c);
public static AgentMenuBtnType 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 static AgentMenuBtnType deserialize(String type)
type
- the typepublic String getType()
Copyright © 2025. All rights reserved.