您的浏览器已禁用 JavaScript。
跳过导航链接
  • 概要:
  • 嵌套 |
  • 字段 |
  • 构造器 |
  • 方法
  • 详细资料:
  • 字段 |
  • 构造器 |
  • 方法
me.chanjar.weixin.mp.api

接口 WxMpDeviceService

  • 所有已知实现类:
    WxMpDeviceServiceImpl


    public interface WxMpDeviceService
    Created by keungtung on 10/12/2016.
    作者:
    keungtung
    • 方法详细资料

      • getQrCode

        WxDeviceQrCodeResult getQrCode(String productId)
         throws WxErrorException 
         获取一组新的deviceid和设备二维码
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-6
         
        参数:
        productId - 产品id
        返回:
        返回WxDeviceQrCodeResult qr code
        抛出:
        WxErrorException - the wx error exception
      • authorize

        WxDeviceAuthorizeResult authorize(WxDeviceAuthorize wxDeviceAuthorize)
         throws WxErrorException 
         将device id及其属性信息提交公众平台进行授权
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-6
         
        参数:
        wxDeviceAuthorize - 授权请求对象
        返回:
        WxDeviceAuthorizeResult wx device authorize result
        抛出:
        WxErrorException - the wx error exception
      • bind

        WxDeviceBindResult bind(WxDeviceBind wxDeviceBind)
         throws WxErrorException 
         第三方后台绑定成功后,通知公众平台
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
         
        参数:
        wxDeviceBind - 绑定请求对象
        返回:
        WxDeviceBindResult wx device bind result
        抛出:
        WxErrorException - the wx error exception
      • compelBind

        WxDeviceBindResult compelBind(WxDeviceBind wxDeviceBind)
         throws WxErrorException 
         强制绑定用户和设备
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-7
         
        参数:
        wxDeviceBind - 强制绑定请求对象
        返回:
        WxDeviceBindResult wx device bind result
        抛出:
        WxErrorException - the wx error exception
      • unbind

        WxDeviceBindResult unbind(WxDeviceBind wxDeviceBind)
         throws WxErrorException 
         第三方确认用户和设备的解绑操作
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html/page=3-4-7
         
        参数:
        wxDeviceBind - 绑定请求对象
        返回:
        WxDeviceBidResult wx device bind result
        抛出:
        WxErrorException - the wx error exception
      • compelUnbind

        WxDeviceBindResult compelUnbind(WxDeviceBind wxDeviceBind)
         throws WxErrorException 
         强制解绑用户和设备
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-7
         
        参数:
        wxDeviceBind - 强制解绑请求对象
        返回:
        WxDeviceBindResult wx device bind result
        抛出:
        WxErrorException - the wx error exception
      • getOpenId

        WxDeviceOpenIdResult getOpenId(String deviceType,
         String deviceId)
         throws WxErrorException 
         通过device type和device id 获取设备主人的openid
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-11
         
        参数:
        deviceType - 设备类型,目前为"公众账号原始ID"
        deviceId - 设备ID
        返回:
        WxDeviceOpenIdResult open id
        抛出:
        WxErrorException - the wx error exception
      • getBindDevice

        WxDeviceBindDeviceResult getBindDevice(String openId)
         throws WxErrorException 
         通过openid获取用户在当前devicetype下绑定的deviceid列表`
         详情请见:http://iot.weixin.qq.com/wiki/new/index.html?page=3-4-12
         
        参数:
        openId - 要查询的用户的openid
        返回:
        WxDeviceBindDeviceResult bind device
        抛出:
        WxErrorException - the wx error exception
跳过导航链接
  • 概要:
  • 嵌套 |
  • 字段 |
  • 构造器 |
  • 方法
  • 详细资料:
  • 字段 |
  • 构造器 |
  • 方法

Copyright © 2024. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /