com.jfinal.weixin.sdk.msg.in.event

## 类 InShakearoundUserShakeEvent

- java.lang.Object
- - com.jfinal.weixin.sdk.msg.in.InMsg
  - - com.jfinal.weixin.sdk.msg.in.event.InShakearoundUserShakeEvent

- 所有已实现的接口:
    Serializable

      public class InShakearoundUserShakeEvent
      extends InMsg

  来自：http://my.oschina.net/u/1993676/blog/490124 用户进入摇一摇界面，在“周边”页卡下摇一摇时， 微信会把这个事件推送到开发者填写的URL（登录公众平台进入开发者中心设置）。 推送内容包含摇一摇时“周边”页卡展示出来的页面所对应的设备信息， 以及附近最多五个属于该公众账号的设备的信息。

       <xml>
       <ToUserName><![CDATA[toUser]]></ToUserName>
       <FromUserName><![CDATA[fromUser]]></FromUserName>
       <CreateTime>1433332012</CreateTime>
       <MsgType><![CDATA[event]]></MsgType>
       <Event><![CDATA[ShakearoundUserShake]]></Event>
       <ChosenBeacon>
       <Uuid><![CDATA[uuid]]></Uuid>
       <Major>major</Major>
       <Minor>minor</Minor>
       <Distance>0.057</Distance>
       </ChosenBeacon>
       <AroundBeacons>
       <AroundBeacon>
       <Uuid><![CDATA[uuid]]></Uuid>
       <Major>major</Major>
       <Minor>minor</Minor>
       <Distance>166.816</Distance>
       </AroundBeacon>
       <AroundBeacon>
       <Uuid><![CDATA[uuid]]></Uuid>
       <Major>major</Major>
       <Minor>minor</Minor>
       <Distance>15.013</Distance>
       </AroundBeacon>
       </AroundBeacons>
       </xml>

  另请参阅:
    序列化表格

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `InShakearoundUserShakeEvent.AroundBeacon`

  - ### 字段概要

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.in.InMsg

      `createTime, fromUserName, msgType, toUserName`

  - ### 构造器概要

    构造器
    构造器和说明
    `InShakearoundUserShakeEvent(String toUserName, String fromUserName, Integer createTime, String msgType)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<InShakearoundUserShakeEvent.AroundBeacon>` | `getAroundBeaconList()`
    `Float` | `getDistance()`
    `String` | `getEvent()`
    `Integer` | `getMajor()`
    `Integer` | `getMinor()`
    `String` | `getUuid()`
    `void` | `setAroundBeaconList(List<InShakearoundUserShakeEvent.AroundBeacon> aroundBeaconList)`
    `void` | `setDistance(Float distance)`
    `void` | `setEvent(String event)`
    `void` | `setMajor(Integer major)`
    `void` | `setMinor(Integer minor)`
    `void` | `setUuid(String uuid)`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.in.InMsg

      `getCreateTime, getFromUserName, getMsgType, getToUserName, setCreateTime, setFromUserName, setMsgType, setToUserName`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### InShakearoundUserShakeEvent

          public InShakearoundUserShakeEvent(String toUserName,
                                             String fromUserName,
                                             Integer createTime,
                                             String msgType)

  - ### 方法详细资料

    - #### getEvent

          public String getEvent()

    - #### setEvent

          public void setEvent(String event)

    - #### getUuid

          public String getUuid()

    - #### setUuid

          public void setUuid(String uuid)

    - #### getMajor

          public Integer getMajor()

    - #### setMajor

          public void setMajor(Integer major)

    - #### getMinor

          public Integer getMinor()

    - #### setMinor

          public void setMinor(Integer minor)

    - #### getDistance

          public Float getDistance()

    - #### setDistance

          public void setDistance(Float distance)

    - #### getAroundBeaconList

          public List<InShakearoundUserShakeEvent.AroundBeacon> getAroundBeaconList()

    - #### setAroundBeaconList

          public void setAroundBeaconList(List<InShakearoundUserShakeEvent.AroundBeacon> aroundBeaconList)

Copyright © 2017. All rights reserved.