Documentation ¶
Overview ¶
Package cmns 包含yunos推送服务api相关方法
Index ¶
- func YunosServiceCmnsCoaDeviceGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaDeviceGetAPIRequest, ...) (*cmns.YunosServiceCmnsCoaDeviceGetAPIResponse, error)
- func YunosServiceCmnsCoaDeviceIsonline(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaDeviceIsonlineAPIRequest, ...) (*cmns.YunosServiceCmnsCoaDeviceIsonlineAPIResponse, error)
- func YunosServiceCmnsCoaMessageAck(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageAckAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessageAckAPIResponse, error)
- func YunosServiceCmnsCoaMessageAcksList(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageAcksListAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessageAcksListAPIResponse, error)
- func YunosServiceCmnsCoaMessageCancel(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageCancelAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessageCancelAPIResponse, error)
- func YunosServiceCmnsCoaMessageGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageGetAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessageGetAPIResponse, error)
- func YunosServiceCmnsCoaMessagePush(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessagePushAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessagePushAPIResponse, error)
- func YunosServiceCmnsCoaMessageresultGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageresultGetAPIRequest, ...) (*cmns.YunosServiceCmnsCoaMessageresultGetAPIResponse, error)
- func YunosServiceCmnsCoaPush(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaPushAPIRequest, ...) (*cmns.YunosServiceCmnsCoaPushAPIResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func YunosServiceCmnsCoaDeviceGet ¶
func YunosServiceCmnsCoaDeviceGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaDeviceGetAPIRequest, session string) (*cmns.YunosServiceCmnsCoaDeviceGetAPIResponse, error)
YunosServiceCmnsCoaDeviceGet 设备详情查询 yunos.service.cmns.coa.device.get
第三方应用开发者调用此接口查询设备详情
func YunosServiceCmnsCoaDeviceIsonline ¶
func YunosServiceCmnsCoaDeviceIsonline(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaDeviceIsonlineAPIRequest, session string) (*cmns.YunosServiceCmnsCoaDeviceIsonlineAPIResponse, error)
YunosServiceCmnsCoaDeviceIsonline 根据设备id查询设备是否在线 yunos.service.cmns.coa.device.isonline
根据设备id查询设备是否在线
func YunosServiceCmnsCoaMessageAck ¶
func YunosServiceCmnsCoaMessageAck(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageAckAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessageAckAPIResponse, error)
YunosServiceCmnsCoaMessageAck 消息回执查询 yunos.service.cmns.coa.message.ack
第三方应用开发者调用此接口查询设备是否收到消息,只能查询此appKey床发的消息
func YunosServiceCmnsCoaMessageAcksList ¶
func YunosServiceCmnsCoaMessageAcksList(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageAcksListAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessageAcksListAPIResponse, error)
YunosServiceCmnsCoaMessageAcksList 消息ack记录查询 yunos.service.cmns.coa.message.acks.list
第三方应用开发者调用此接口查询消息ack记录
func YunosServiceCmnsCoaMessageCancel ¶
func YunosServiceCmnsCoaMessageCancel(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageCancelAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessageCancelAPIResponse, error)
YunosServiceCmnsCoaMessageCancel CMNS消息撤回 yunos.service.cmns.coa.message.cancel
此接口用户撤回之前已经发出去的消息,根据消息ID撤回,只能撤回此appKey创建的消息。
func YunosServiceCmnsCoaMessageGet ¶
func YunosServiceCmnsCoaMessageGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageGetAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessageGetAPIResponse, error)
YunosServiceCmnsCoaMessageGet 消息详情查询 yunos.service.cmns.coa.message.get
第三方应用开发者调用此接口查询消息详情,只能查询此appKey发的消息
func YunosServiceCmnsCoaMessagePush ¶
func YunosServiceCmnsCoaMessagePush(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessagePushAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessagePushAPIResponse, error)
YunosServiceCmnsCoaMessagePush 消息推送接口 yunos.service.cmns.coa.message.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
func YunosServiceCmnsCoaMessageresultGet ¶
func YunosServiceCmnsCoaMessageresultGet(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaMessageresultGetAPIRequest, session string) (*cmns.YunosServiceCmnsCoaMessageresultGetAPIResponse, error)
YunosServiceCmnsCoaMessageresultGet CMNS消息发送到达查询 yunos.service.cmns.coa.messageresult.get
CMNS消息发送到达查询,根据消息ID查询,仅能查询该appKey所发送的消息
func YunosServiceCmnsCoaPush ¶
func YunosServiceCmnsCoaPush(clt *core.SDKClient, req *cmns.YunosServiceCmnsCoaPushAPIRequest, session string) (*cmns.YunosServiceCmnsCoaPushAPIResponse, error)
YunosServiceCmnsCoaPush 消息推送接口 yunos.service.cmns.coa.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
Types ¶
This section is empty.
Source Files ¶
- YunosServiceCmnsCoaDeviceGet.go
- YunosServiceCmnsCoaDeviceIsonline.go
- YunosServiceCmnsCoaMessageAck.go
- YunosServiceCmnsCoaMessageAcksList.go
- YunosServiceCmnsCoaMessageCancel.go
- YunosServiceCmnsCoaMessageGet.go
- YunosServiceCmnsCoaMessagePush.go
- YunosServiceCmnsCoaMessageresultGet.go
- YunosServiceCmnsCoaPush.go
- doc.go