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