public interface ISubDeviceChannel
限定符和类型 | 方法和说明 |
---|---|
void |
offline(ISubDeviceActionListener listener)
子设备下线
|
void |
online(ISubDeviceActionListener listener)
子设备上线
|
void |
subscribe(java.lang.String topic,
ISubDeviceActionListener listener)
子设备订阅Topic,订阅后的数据会在 ISubDeviceConnectListener 的 onDataPush 接口返回。
|
void |
unSubscribe(java.lang.String topic,
ISubDeviceActionListener listener)
子设备取消订阅Topic
|
void |
uploadData(java.lang.String topic,
java.lang.String data,
ISubDeviceActionListener listener)
子设备上报
|
void online(ISubDeviceActionListener listener)
listener
- void offline(ISubDeviceActionListener listener)
listener
- void uploadData(java.lang.String topic, java.lang.String data, ISubDeviceActionListener listener)
topic
- data
- listener
- void subscribe(java.lang.String topic, ISubDeviceActionListener listener)
topic
- listener
- void unSubscribe(java.lang.String topic, ISubDeviceActionListener listener)
topic
- listener
-