GWIoTApi
Toggle table of contents
1.4.4
common
Platform filter
common
Switch theme
Search in API
GWIoTApi
GWIoTApi
/
com.gw.gwiotapi.entities
/
PushData
/
SimplePush
Simple
Push
@
Serializable
data
class
SimplePush
(
val
deviceId
:
String
,
longPushType
:
Long
,
val
pushTime
:
Long
,
val
pushContent
:
PushData.SimplePush.Content
)
:
PushData
Members
Constructors
Simple
Push
Link copied to clipboard
constructor
(
deviceId
:
String
,
longPushType
:
Long
,
pushTime
:
Long
,
pushContent
:
PushData.SimplePush.Content
)
Types
Content
Link copied to clipboard
@
Serializable
data
class
Content
(
typeStr
:
String
,
val
value
:
String
,
val
flag
:
Int
,
alarmTypeLong
:
Long
?
,
val
alarmId
:
String
?
)
Event
Type
Link copied to clipboard
enum
EventType
:
Enum
<
PushData.SimplePush.EventType
>
Properties
device
Id
Link copied to clipboard
val
deviceId
:
String
设备ID
push
Content
Link copied to clipboard
val
pushContent
:
PushData.SimplePush.Content
推送内容
push
Time
Link copied to clipboard
val
pushTime
:
Long
推送时间(ms)
push
Type
Link copied to clipboard
val
pushType
:
Set
<
PushData.SimplePush.EventType
>
推送类型