public interface WxMpDeviceService
| 限定符和类型 | 方法和说明 |
|---|---|
WxDeviceAuthorizeResult |
authorize(WxDeviceAuthorize wxDeviceAuthorize)
将device id及其属性信息提交公众平台进行授权
详情请见:http://iot.weixin.qq.com/wiki/new/index.html?
|
WxDeviceBindResult |
bind(WxDeviceBind wxDeviceBind)
第三方后台绑定成功后,通知公众平台
详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
|
WxDeviceBindResult |
compelBind(WxDeviceBind wxDeviceBind)
强制绑定用户和设备
详情请见:http://iot.weixin.qq.com/wiki/new/index.html?
|
WxDeviceBindResult |
compelUnbind(WxDeviceBind wxDeviceBind)
强制解绑用户和设备
详情请见:http://iot.weixin.qq.com/wiki/new/index.html?
|
WxDeviceQrCodeResult |
getQrCode(String productId)
获取一组新的deviceid和设备二维码
详情请见:http://iot.weixin.qq.com/wiki/new/index.html?
|
TransMsgResp |
transMsg(WxDeviceMsg msg)
主动发送消息给设备
详情请见:http://iot.weixin.qq.com/wiki/new/index.html?
|
WxDeviceBindResult |
unbind(WxDeviceBind wxDeviceBind)
第三方确认用户和设备的解绑操作
详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
|
TransMsgResp transMsg(WxDeviceMsg msg) throws WxErrorException
主动发送消息给设备 详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-3
WxErrorExceptionWxDeviceQrCodeResult getQrCode(String productId) throws WxErrorException
获取一组新的deviceid和设备二维码 详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-6
productId - 产品idWxErrorExceptionWxDeviceAuthorizeResult authorize(WxDeviceAuthorize wxDeviceAuthorize) throws WxErrorException
将device id及其属性信息提交公众平台进行授权 详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-6
wxDeviceAuthorize - 授权请求对象WxErrorExceptionWxDeviceBindResult bind(WxDeviceBind wxDeviceBind) throws WxErrorException
第三方后台绑定成功后,通知公众平台 详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
wxDeviceBind - 绑定请求对象WxErrorExceptionWxDeviceBindResult compelBind(WxDeviceBind wxDeviceBind) throws WxErrorException
强制绑定用户和设备 详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-7
wxDeviceBind - 强制绑定请求对象WxErrorExceptionWxDeviceBindResult unbind(WxDeviceBind wxDeviceBind) throws WxErrorException
第三方确认用户和设备的解绑操作 详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
wxDeviceBind - 绑定请求对象WxErrorExceptionWxDeviceBindResult compelUnbind(WxDeviceBind wxDeviceBind) throws WxErrorException
强制解绑用户和设备 详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-7
wxDeviceBind - 强制解绑请求对象WxErrorExceptionCopyright © 2017. All rights reserved.