-
public interface IThingHomeScene
Created by Kunyang.Lee on 2017/9/6.
-
-
Method Summary
Modifier and Type Method Description abstract void
executeScene(IResultCallback callback)
Execute scene tasks abstract void
deleteScene(IResultCallback callback)
Delete scene abstract void
deleteSceneWithHomeId(Long relationId, IResultCallback callback)
Delete scene abstract void
modifyScene(SceneBean sceneReqBean, IThingResultCallback<SceneBean> callback)
Modify scene abstract void
disableScene(String sceneId, IResultCallback callback)
Disable current scene abstract void
enableScene(String sceneId, IResultCallback callback)
Enable current scene abstract void
enableSceneWithTime(String sceneId, int time, IResultCallback callback)
After some time enable the scene abstract void
onDestroy()
Do something after destroy like release resource -
-
Method Detail
-
executeScene
@Deprecated() abstract void executeScene(IResultCallback callback)
Execute scene tasks
- Parameters:
callback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
deleteScene
@Deprecated() abstract void deleteScene(IResultCallback callback)
Delete scene
- Parameters:
callback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
deleteSceneWithHomeId
@Deprecated() abstract void deleteSceneWithHomeId(Long relationId, IResultCallback callback)
Delete scene
- Parameters:
callback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
modifyScene
@Deprecated() abstract void modifyScene(SceneBean sceneReqBean, IThingResultCallback<SceneBean> callback)
Modify scene
- Parameters:
sceneReqBean
- Scene datacom.thingclips.smart.home.sdk.bean.scene.SceneBeancallback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
disableScene
@Deprecated() abstract void disableScene(String sceneId, IResultCallback callback)
Disable current scene
- Parameters:
sceneId
- The id of scenecallback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
enableScene
@Deprecated() abstract void enableScene(String sceneId, IResultCallback callback)
Enable current scene
- Parameters:
sceneId
- The id of scenecallback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
enableSceneWithTime
@Deprecated() abstract void enableSceneWithTime(String sceneId, int time, IResultCallback callback)
After some time enable the scene
- Parameters:
sceneId
- The id of scenetime
- Time interval(unit hour)callback
- Callback com.thingclips.smart.sdk.api.IResultCallback
-
onDestroy
@Deprecated() abstract void onDestroy()
Do something after destroy like release resource
-
-
-
-