LinkVisual Media SDK(Android) v2.7.0-ilop
Public Member Functions | List of all members
com.aliyun.iotx.iot.tmp.IIotThingObserver Interface Reference

Public Member Functions

void onStatusChange (String iotId, String params)
 
void onEventHappen (String iotId, String params)
 
void onPropertyChange (String iotId, String params)
 

Detailed Description

@Author: EverettLi.ll @Date: 8/31/23 @Description: 物的状态变更、属性变更、事件触发的观察者类

Member Function Documentation

◆ onEventHappen()

void com.aliyun.iotx.iot.tmp.IIotThingObserver.onEventHappen ( String  iotId,
String  params 
)

物有事件触发,如提示,告警等

Parameters
iotId物的 iotId
params描述具体事件

◆ onPropertyChange()

void com.aliyun.iotx.iot.tmp.IIotThingObserver.onPropertyChange ( String  iotId,
String  params 
)

物的属性发生变化

Parameters
iotId物的 iotId
params描述属性内容

◆ onStatusChange()

void com.aliyun.iotx.iot.tmp.IIotThingObserver.onStatusChange ( String  iotId,
String  params 
)

物的状态变更回调,如上线,离线等

Parameters
iotId物的 iotId
params描述具体状态