GWIoTApi
Toggle table of contents
1.2.1
common
Platform filter
common
Switch theme
Search in API
GWIoTApi
GWIoTApi
/
com.gw.gwiotapi.entities
/
PushMsg
Push
Msg
@
Serializable
data
class
PushMsg
(
pushTypeStr
:
String
,
val
pushData
:
PushMsg.Data
)
推送消息自定义数据结构
Members
Constructors
Push
Msg
Link copied to clipboard
constructor
(
pushTypeStr
:
String
,
pushData
:
PushMsg.Data
)
Types
Data
Link copied to clipboard
@
Serializable
data
class
Data
(
val
deviceId
:
String
,
longPushType
:
Long
,
val
pushTime
:
Long
,
val
pushContent
:
PushMsg.Data.Content
)
Push
Type
Link copied to clipboard
enum
PushType
:
Enum
<
PushMsg.PushType
>
Properties
push
Data
Link copied to clipboard
@
SerialName
(
value
=
"push_data"
)
val
pushData
:
PushMsg.Data
推送数据
push
Type
Link copied to clipboard
val
pushType
:
PushMsg.PushType
推送类型