GWIoTApi
Toggle table of contents
1.2.1
common
Platform filter
common
Switch theme
Search in API
GWIoTApi
GWIoTApi
/
com.gw.gwiotapi.entities
/
PushMsg
/
Data
/
Content
Content
@
Serializable
data
class
Content
(
typeStr
:
String
,
val
value
:
String
,
val
flag
:
Int
,
alarmTypeLong
:
Long
?
,
val
alarmId
:
String
?
)
Members
Constructors
Content
Link copied to clipboard
constructor
(
typeStr
:
String
,
value
:
String
,
flag
:
Int
,
alarmTypeLong
:
Long
?
,
alarmId
:
String
?
)
Types
Subtype
Link copied to clipboard
enum
Subtype
:
Enum
<
PushMsg.Data.Content.Subtype
>
Properties
alarm
Id
Link copied to clipboard
val
alarmId
:
String
?
可选,当type为event时
alarm
Type
Link copied to clipboard
val
alarmType
:
Set
<
PushMsg.Data.EventType
>
?
可选,当type为event时
flag
Link copied to clipboard
val
flag
:
Int
推送选项,0:全推送,1:只推主人,默认全推送
type
Link copied to clipboard
val
type
:
PushMsg.Data.Content.Subtype
推送子类型:"event", ...
value
Link copied to clipboard
val
value
:
String
推送内容,目前手势识别有使用