public static enum WxMpApiUrl.Device extends Enum<WxMpApiUrl.Device> implements WxMpApiUrl
WxMpApiUrl.AiOpen, WxMpApiUrl.Card, WxMpApiUrl.Comment, WxMpApiUrl.DataCube, WxMpApiUrl.Device, WxMpApiUrl.ImgProc, WxMpApiUrl.Kefu, WxMpApiUrl.Marketing, WxMpApiUrl.MassMessage, WxMpApiUrl.Material, WxMpApiUrl.MemberCard, WxMpApiUrl.Menu, WxMpApiUrl.Ocr, WxMpApiUrl.Other, WxMpApiUrl.Qrcode, WxMpApiUrl.ShakeAround, WxMpApiUrl.Store, WxMpApiUrl.SubscribeMsg, WxMpApiUrl.TemplateMsg, WxMpApiUrl.User, WxMpApiUrl.UserBlacklist, WxMpApiUrl.UserTag, WxMpApiUrl.Wifi
枚举常量和说明 |
---|
DEVICE_AUTHORIZE_DEVICE
authorize_device.
|
DEVICE_BIND
bind.
|
DEVICE_COMPEL_BIND
compel_bind.
|
DEVICE_COMPEL_UNBIND
compel_unbind.
|
DEVICE_GET_BIND_DEVICE
get_bind_device.
|
DEVICE_GET_OPENID
get_openid.
|
DEVICE_GETQRCODE
getqrcode.
|
DEVICE_TRANSMSG
transmsg.
|
DEVICE_UNBIND
unbind.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getUrl(WxMpConfigStorage config)
得到api完整地址.
|
static WxMpApiUrl.Device |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static WxMpApiUrl.Device[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final WxMpApiUrl.Device DEVICE_GET_BIND_DEVICE
public static final WxMpApiUrl.Device DEVICE_GET_OPENID
public static final WxMpApiUrl.Device DEVICE_COMPEL_UNBIND
public static final WxMpApiUrl.Device DEVICE_UNBIND
public static final WxMpApiUrl.Device DEVICE_COMPEL_BIND
public static final WxMpApiUrl.Device DEVICE_BIND
public static final WxMpApiUrl.Device DEVICE_AUTHORIZE_DEVICE
public static final WxMpApiUrl.Device DEVICE_GETQRCODE
public static final WxMpApiUrl.Device DEVICE_TRANSMSG
public static WxMpApiUrl.Device[] values()
for (WxMpApiUrl.Device c : WxMpApiUrl.Device.values()) System.out.println(c);
public static WxMpApiUrl.Device valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String getUrl(WxMpConfigStorage config)
WxMpApiUrl
getUrl
在接口中 WxMpApiUrl
config
- 微信公众号配置Copyright © 2020. All rights reserved.