-
public interface IThingZigBeeLocalScene
Created by letian on 2018/4/23.
-
-
Method Summary
Modifier and Type Method Description abstract void
startConfigLocalScene(IThingZigBeeConfigLocalSceneCallback callback)
Start configure local scene abstract void
stopConfigLocalScene()
Stop configure local scene abstract void
retrySendCommandTask(List<SceneTask> addTasks, IThingZigBeeConfigLocalSceneCallback callback)
Retry execute tasks abstract void
executeLocalScene(List<SceneTask> sceneTask, IResultCallback callback)
Execute local scene within the LAN abstract void
executeNewLocalScene(String gwId, String sceneId, IResultCallback callback)
Execute local scene within the gateway abstract void
executeSceneOnline(String gwId, String sceneId, IResultCallback callback)
New version gateway, online, mqtt execution scene -
-
Method Detail
-
startConfigLocalScene
abstract void startConfigLocalScene(IThingZigBeeConfigLocalSceneCallback callback)
Start configure local scene
- Parameters:
callback
- callback on staringConfiguringcom.thingclips.smart.home.sdk.api.IThingZigBeeConfigLocalSceneCallback
-
stopConfigLocalScene
abstract void stopConfigLocalScene()
Stop configure local scene
-
retrySendCommandTask
abstract void retrySendCommandTask(List<SceneTask> addTasks, IThingZigBeeConfigLocalSceneCallback callback)
Retry execute tasks
- Parameters:
callback
- callback on Configuring scenecom.thingclips.smart.home.sdk.api.IThingZigBeeConfigLocalSceneCallback
-
executeLocalScene
abstract void executeLocalScene(List<SceneTask> sceneTask, IResultCallback callback)
Execute local scene within the LAN
- Parameters:
sceneTask
- Tasks that the scene will perform com.thingclips.smart.home.sdk.bean.scene.SceneTaskcallback
- callback on executing com.thingclips.smart.sdk.api.IResultCallback
-
executeNewLocalScene
abstract void executeNewLocalScene(String gwId, String sceneId, IResultCallback callback)
Execute local scene within the gateway
- Parameters:
gwId
- The id of gatewaysceneId
- The id of scenecallback
- callback on executing com.thingclips.smart.sdk.api.IResultCallback
-
executeSceneOnline
abstract void executeSceneOnline(String gwId, String sceneId, IResultCallback callback)
New version gateway, online, mqtt execution scene
- Parameters:
gwId
- The id of gatewaysceneId
- The id of scenecallback
- allback on executing com.thingclips.smart.sdk.api.IResultCallback
-
-
-
-