Package 

Interface IThingHomeSceneManager

    • Method Summary

      Modifier and Type Method Description
      abstract void deleteAllScene(long homeId, List<String> sceneIds, IResultCallback callback) Delete all scene
      abstract void >)>getDeviceTaskOperationList(String devId, IThingResultCallback<List<TaskListBean>> callback) Get the actions that the device can perform
      abstract void >)>getDeviceTaskOperationListByGroup(String groupId, IThingResultCallback<List<TaskListBean>> callback) Get the actions that the group can perform
      abstract void >)>getDeviceTaskFunctionList(String devId, IThingResultCallback<List<FunctionListBean>> callback) 获取设备可以执行的操作(包含组合dp点数据)
      abstract void >)>getDeviceTaskFunctionListByGoup(String groupId, IThingResultCallback<List<FunctionListBean>> callback) Get the actions that the group can perform(contains combined point data)
      abstract void >)>getSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback) Get all scenes
      abstract void >)>getDevSceneList(long homeId, String devId, IThingResultCallback<List<SceneBean>> callback) Get scenes bound to device
      abstract void >)>getMemberSceneListCache(long homeId, IThingResultCallback<List<SceneBean>> callback)
      abstract void >)>getRecommendSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback) Get all recommended scenes
      abstract void >)>getRecommendSceneListByDev(long homeId, String devId, int size, IThingResultCallback<List<SceneBean>> callback) Get all recommended scenes By device
      abstract void recommendSceneSave(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback) Save recommended scene
      abstract void recommendSceneRemove(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback) remove recommended scene
      abstract void recommendSceneTrigger(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback) Trigger Recommended scene execution
      abstract void >)>getSimpleSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback) Get all scenes containing simple information
      abstract void )>getSceneDetail(long homeId, String sceneId, IThingResultCallback<SceneBean> callback) Get scene containing full information
      abstract void )>createScene(long homeId, String name, String background, List<SceneCondition> conditions, List<SceneTask> tasks, int matchType, IThingResultCallback<SceneBean> callback) Create scene
      abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, List<SceneCondition> conditions, List<SceneTask> tasks, int matchType, IThingResultCallback<SceneBean> callback) Create scene
      abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, List<SceneCondition> conditions, List<SceneTask> tasks, List<PreCondition> preConditions, int matchType, IThingResultCallback<SceneBean> callback) Create scene
      abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, String displayColor, String coverIcon, List<SceneCondition> conditions, List<SceneTask> tasks, List<PreCondition> preConditions, int matchType, IThingResultCallback<SceneBean> callback) Create scene
      abstract void >)>getConditionDevList(long homeId, IThingResultCallback<List<DeviceBean>> callback) Get optional devices in the conditions
      abstract void >)>getTaskDevList(long homeId, IThingResultCallback<List<DeviceBean>> callback) Get optional devices in the tasks
      abstract void )>getTaskDevAndGoupList(long homeId, IThingResultCallback<SceneTaskGroupDevice> callback) Get optional device groups in the conditions
      abstract void >)>getSceneConditionDevList(long homeId, int type, IThingResultCallback<List<DeviceBean>> callback) 获取场景条件设备列表,可以传入不同type来过滤设备类型
      abstract void >)>getDeviceConditionOperationList(String devId, IThingResultCallback<List<TaskListBean>> callback) Get types of operation supported by the device
      abstract void >)>getConditionList(boolean showFahrenheit, IThingResultCallback<List<ConditionListBean>> callback) Get all Conditions
      abstract void >)>getConditionListAll(long homeId, boolean showFahrenheit, IThingResultCallback<List<ConditionListBean>> callback) 获取所有动态条件列表包含天气类型 和 动态开放的人脸识别,门锁类型
      abstract void >)>getConditionListAll(long homeId, boolean showFahrenheit, String windSpeedUnit, IThingResultCallback<List<ConditionListBean>> callback) 获取所有动态条件列表包含天气类型 和 动态开放的人脸识别,门锁类型
      abstract void )>getCityByLatLng(String lon, String lat, IThingResultCallback<PlaceFacadeBean> callback) Get city information based on latitude and longitude
      abstract void )>getCityByCityIndex(long cityId, IThingResultCallback<PlaceFacadeBean> callback) Get city information by city id
      abstract void >)>getCityListByCountryCode(String countryCode, IThingResultCallback<List<PlaceFacadeBean>> callback) Get all cities by country code
      abstract void sortSceneList(long homeId, List<String> sceneIds, IResultCallback callback) Sorted Scenes List
      abstract IThingZigBeeLocalScene newThingZigBeeLocalScene(List<SceneTask> addSceneTasks, List<SceneTask> deleteSceneTasks) create zigbee local scene
      abstract void >)>getScenePanelBoundList(String devId, IThingResultCallback<List<LocalSceneBean>> callback) Get all scenes bound to the device
      abstract void >)>getAvailableBindSceneList(String gwId, IThingResultCallback<List<SceneBean>> callback) Get all scenes can be bound to the device
      abstract void bindLocalScene(String devId, long dpId, String gwId, String localSid, String sceneId, IResultCallback callback) Bind the local scene (localSid) to the scene button (dpId) in the device.
      abstract void unbindLocalScene(String devId, long dpId, IResultCallback callback) Unbind the local scene (localSid) from the scene button (dpId) in the device.
      abstract void >)>getSceneBgs(IThingResultCallback<ArrayList<String>> callback) Get the scene background images
      abstract void )>getSceneAppearances(IThingResultCallback<SceneAppearance> callback) Get appearances of the scene
      abstract void registerSmartUpdateListener(ISmartUpdateListener listener) Register smart scene change notification
      abstract void unRegisterSmartUpdateListener(ISmartUpdateListener listener) Unregister smart scene change notification
      abstract void reisterDevSceneListUpdateListener(IDevSceneListUpdateListener listUpdateListener) Register callback of device related scene refresh data
      abstract void unRegisterDevSceneListUpdateListener(IDevSceneListUpdateListener listUpdateListener) Unregister callback of device related scene refresh data
      abstract SceneTask createDpTask(String devId, HashMap<String, Object> tasks) Create task of device data point type
      abstract SceneTask createSceneTask(SceneBean sceneBean) Create task of smart control type
      abstract SceneTask createDpGroupTask(long groupId, HashMap<String, Object> tasks) Create task of device groups type
      abstract SceneTask createDelayTask(int minute, int second) Create task of delay time type
      abstract SceneTask createPushMessage() Create task of push message type
      abstract void requestRecomMore(long homeid, IResultCallback callback) Get more recommended scenes
      abstract void requestRecomMoreNew(long homeid, IResultCallback callback) Get more recommended scenes
      abstract void )>getSceneLogs(long homeId, long startTime, long endTime, int size, String lastId, long lastRecordTime, IThingResultCallback<SceneLogResBean> callback) Get scene log
      abstract void )>getSceneDevLogs(long homeId, String devId, long startTime, long endTime, int size, String lastId, long lastRecordTime, IThingResultCallback<SceneLogResBean> callback) Get the linkage log of the scenes related to the device
      abstract void >)>getSceneLogDetail(long homeId, String eventId, long startTime, long endTime, long returnType, IThingResultCallback<ArrayList<SceneLogDetailBean>> callback) Get scene linkage log execution details
      abstract List<SceneBean> getSceneCaches() Get scenes in the cache
      abstract SceneBean getSceneCache(String sceneId)
      abstract SceneCondition createDevCondition(DeviceBean devBean, String dpId, Rule rule) Create device type conditions
      abstract SceneCondition createWeatherCondition(PlaceFacadeBean place, String type, Rule rule) Create weather type conditions
      abstract SceneCondition createTimerCondition(String display, String name, String type, Rule rule) Create timer type conditions
      abstract SceneCondition createGeoFenceCondition(double lat, double lng, int radius, String address, GeoType geoType) Create condition of geo-fence typeMust have google geo api key to take effectAfter creation, the next call to >)>getSceneList will activate all automated geofencing registrations
      abstract void removeAllGeoFence() remove all geo-fence
      abstract void >)>getHomeRecommendList(long homeid, IThingResultCallback<ArrayList<SceneBean>> callback) Get recommend scenes on home page
      abstract void )>removeRecommendScene(long homeid, String recommendId, IThingResultCallback<Boolean> callback) Not interested in scene recommendations on home page
      abstract void onDestroy() Do something after destroy like release resource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • deleteAllScene

        @Deprecated() abstract void deleteAllScene(long homeId, List<String> sceneIds, IResultCallback callback)

        Delete all scene

        Parameters:
        callback - Callback com.thingclips.smart.sdk.api.
      • getDeviceTaskOperationList

        @Deprecated() abstract void >)>getDeviceTaskOperationList(String devId, IThingResultCallback<List<TaskListBean>> callback)

        Get the actions that the device can perform

        Parameters:
        devId - the id of the device
        callback - callback com.thingclips.smart.home.sdk.callback.
      • getDeviceTaskOperationListByGroup

        @Deprecated() abstract void >)>getDeviceTaskOperationListByGroup(String groupId, IThingResultCallback<List<TaskListBean>> callback)

        Get the actions that the group can perform

        Parameters:
        groupId - the id of the device groups
        callback - callback com.thingclips.smart.home.sdk.callback.
      • getDeviceTaskFunctionList

        @Deprecated() abstract void >)>getDeviceTaskFunctionList(String devId, IThingResultCallback<List<FunctionListBean>> callback)

        获取设备可以执行的操作(包含组合dp点数据)

      • getDeviceTaskFunctionListByGoup

        @Deprecated() abstract void >)>getDeviceTaskFunctionListByGoup(String groupId, IThingResultCallback<List<FunctionListBean>> callback)

        Get the actions that the group can perform(contains combined point data)

        Parameters:
        groupId - the id of the device groups
        callback - callback@link com.thingclips.smart.home.sdk.callback.
      • getSceneList

        @Deprecated() abstract void >)>getSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback)

        Get all scenes

        Parameters:
        homeId - The id of family
        callback - callback@link com.thingclips.smart.home.sdk.callback.
      • getDevSceneList

        @Deprecated() abstract void >)>getDevSceneList(long homeId, String devId, IThingResultCallback<List<SceneBean>> callback)

        Get scenes bound to device

        Parameters:
        homeId - id of family
        devId - id of device
        callback - callback@link com.thingclips.smart.home.sdk.callback.
      • getMemberSceneListCache

        @Deprecated() abstract void >)>getMemberSceneListCache(long homeId, IThingResultCallback<List<SceneBean>> callback)
        Parameters:
        homeId - id of family
        callback - callback@link com.thingclips.smart.home.sdk.callback.
      • getRecommendSceneList

        @Deprecated() abstract void >)>getRecommendSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback)

        Get all recommended scenes

        Parameters:
        homeId - The id of family
        callback - callback@link com.thingclips.smart.home.sdk.callback.
      • getRecommendSceneListByDev

        @Deprecated() abstract void >)>getRecommendSceneListByDev(long homeId, String devId, int size, IThingResultCallback<List<SceneBean>> callback)

        Get all recommended scenes By device

      • recommendSceneSave

        @Deprecated() abstract void recommendSceneSave(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback)

        Save recommended scene

        Parameters:
        homeId - The id of family
        ruleId - The id of Scene
        sceneBean - Scene datacom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.sdk.api.
      • recommendSceneRemove

        @Deprecated() abstract void recommendSceneRemove(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback)

        remove recommended scene

        Parameters:
        homeId - The id of family
        ruleId - The id of Scene
        sceneBean - Scene datacom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.sdk.api.
      • recommendSceneTrigger

        @Deprecated() abstract void recommendSceneTrigger(long homeId, long ruleId, SceneBean sceneBean, IResultCallback callback)

        Trigger Recommended scene execution

        Parameters:
        homeId - The id of family
        ruleId - The id of Scene
        sceneBean - Scene datacom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.sdk.api.
      • getSimpleSceneList

        @Deprecated() abstract void >)>getSimpleSceneList(long homeId, IThingResultCallback<List<SceneBean>> callback)

        Get all scenes containing simple information

        Parameters:
        homeId - The id of family
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getSceneDetail

        @Deprecated() abstract void )>getSceneDetail(long homeId, String sceneId, IThingResultCallback<SceneBean> callback)

        Get scene containing full information

        Parameters:
        sceneId - The id of family
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • createScene

        @Deprecated() abstract void )>createScene(long homeId, String name, String background, List<SceneCondition> conditions, List<SceneTask> tasks, int matchType, IThingResultCallback<SceneBean> callback)

        Create scene

        Parameters:
        homeId - The id of family
        name - The name of scene
        background - Background of the scene
        conditions - Conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        tasks - Tasks that the scene will perform com.thingclips.smart.home.sdk.bean.scene.
        matchType - Type of condition met: SceneBeancom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • createScene

        @Deprecated() abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, List<SceneCondition> conditions, List<SceneTask> tasks, int matchType, IThingResultCallback<SceneBean> callback)

        Create scene

        Parameters:
        homeId - The id of family
        name - The name of scene
        stickyOnTop - Whether to show in the home page
        background - Background of the scene
        conditions - Conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        tasks - Tasks that the scene will perform com.thingclips.smart.home.sdk.bean.scene.
        matchType - Type of condition met: SceneBeancom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • createScene

        @Deprecated() abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, List<SceneCondition> conditions, List<SceneTask> tasks, List<PreCondition> preConditions, int matchType, IThingResultCallback<SceneBean> callback)

        Create scene

        Parameters:
        homeId - The id of family
        name - The name of scene
        stickyOnTop - Whether to show in the home page
        background - Background of the scene
        conditions - Conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        tasks - Tasks that the scene will perform com.thingclips.smart.home.sdk.bean.scene.
        preConditions - Pre-conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        matchType - Type of condition met: SceneBeancom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • createScene

        @Deprecated() abstract void )>createScene(long homeId, String name, boolean stickyOnTop, String background, String displayColor, String coverIcon, List<SceneCondition> conditions, List<SceneTask> tasks, List<PreCondition> preConditions, int matchType, IThingResultCallback<SceneBean> callback)

        Create scene

        Parameters:
        homeId - The id of family
        name - The name of scene
        stickyOnTop - Whether to show in the home page
        background - Background of the scene
        displayColor - Theme color of the scene
        coverIcon - Icon of the scene
        conditions - Conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        tasks - Tasks that the scene will perform com.thingclips.smart.home.sdk.bean.scene.
        preConditions - Pre-conditions for scene triggeringcom.thingclips.smart.home.sdk.bean.scene.
        matchType - Type of condition met: SceneBean{@see com.thingclips.smart.home.sdk.bean.scene.SceneBean#MATCH_TYPE_OR} or {@see com.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getConditionDevList

        @Deprecated() abstract void >)>getConditionDevList(long homeId, IThingResultCallback<List<DeviceBean>> callback)

        Get optional devices in the conditions

        Parameters:
        homeId - The id of family
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getTaskDevList

        @Deprecated() abstract void >)>getTaskDevList(long homeId, IThingResultCallback<List<DeviceBean>> callback)

        Get optional devices in the tasks

        Parameters:
        homeId - The id of family
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getTaskDevAndGoupList

        @Deprecated() abstract void )>getTaskDevAndGoupList(long homeId, IThingResultCallback<SceneTaskGroupDevice> callback)

        Get optional device groups in the conditions

        Parameters:
        homeId - The id of family
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getSceneConditionDevList

        @Deprecated() abstract void >)>getSceneConditionDevList(long homeId, int type, IThingResultCallback<List<DeviceBean>> callback)

        获取场景条件设备列表,可以传入不同type来过滤设备类型

        Parameters:
        type - 11为支持门锁识别的设备,9为支持人脸识别的设备
      • getDeviceConditionOperationList

        @Deprecated() abstract void >)>getDeviceConditionOperationList(String devId, IThingResultCallback<List<TaskListBean>> callback)

        Get types of operation supported by the device

        Parameters:
        devId - the id of the device
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getConditionList

        @Deprecated() abstract void >)>getConditionList(boolean showFahrenheit, IThingResultCallback<List<ConditionListBean>> callback)

        Get all Conditions

        Parameters:
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getConditionListAll

         abstract void >)>getConditionListAll(long homeId, boolean showFahrenheit, IThingResultCallback<List<ConditionListBean>> callback)

        获取所有动态条件列表包含天气类型 和 动态开放的人脸识别,门锁类型

      • getConditionListAll

         abstract void >)>getConditionListAll(long homeId, boolean showFahrenheit, String windSpeedUnit, IThingResultCallback<List<ConditionListBean>> callback)

        获取所有动态条件列表包含天气类型 和 动态开放的人脸识别,门锁类型

        Parameters:
        windSpeedUnit - 风速,可以为空,默认m/s
      • getCityByLatLng

        @Deprecated() abstract void )>getCityByLatLng(String lon, String lat, IThingResultCallback<PlaceFacadeBean> callback)

        Get city information based on latitude and longitude

        Parameters:
        lon - Longitude
        lat - Latitude
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getCityByCityIndex

        @Deprecated() abstract void )>getCityByCityIndex(long cityId, IThingResultCallback<PlaceFacadeBean> callback)

        Get city information by city id

        Parameters:
        cityId - The id of citycom.thingclips.smart.home.sdk.bean.scene.
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getCityListByCountryCode

        @Deprecated() abstract void >)>getCityListByCountryCode(String countryCode, IThingResultCallback<List<PlaceFacadeBean>> callback)

        Get all cities by country code

        Parameters:
        countryCode - The country code of city
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • sortSceneList

        @Deprecated() abstract void sortSceneList(long homeId, List<String> sceneIds, IResultCallback callback)

        Sorted Scenes List

        Parameters:
        homeId - The id of family
        sceneIds - The id list of scenes
        callback - callbackcom.thingclips.smart.sdk.api.
      • newThingZigBeeLocalScene

        @Deprecated() abstract IThingZigBeeLocalScene newThingZigBeeLocalScene(List<SceneTask> addSceneTasks, List<SceneTask> deleteSceneTasks)

        create zigbee local scene

        Parameters:
        addSceneTasks - Tasks added to the scene
        deleteSceneTasks - Tasks removed from the scene
      • getScenePanelBoundList

        @Deprecated() abstract void >)>getScenePanelBoundList(String devId, IThingResultCallback<List<LocalSceneBean>> callback)

        Get all scenes bound to the device

        Parameters:
        devId - the id of the device
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getAvailableBindSceneList

        @Deprecated() abstract void >)>getAvailableBindSceneList(String gwId, IThingResultCallback<List<SceneBean>> callback)

        Get all scenes can be bound to the device

        Parameters:
        gwId - The id of gateway
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • bindLocalScene

        @Deprecated() abstract void bindLocalScene(String devId, long dpId, String gwId, String localSid, String sceneId, IResultCallback callback)

        Bind the local scene (localSid) to the scene button (dpId) in the device. The localSid needs toCorresponding to a server-side scene, after this scene is bound to the scene panel (devId),editing actions that are not added to the current gateway is not allowed.

        Parameters:
        devId - id of device
        dpId - id of scene button
        gwId - id of gateway
        localSid - id of local scene
        sceneId - id of scene
      • unbindLocalScene

        @Deprecated() abstract void unbindLocalScene(String devId, long dpId, IResultCallback callback)

        Unbind the local scene (localSid) from the scene button (dpId) in the device.

        Parameters:
        devId - id of device
        dpId - data point
        callback - callbackcom.thingclips.smart.sdk.api.
      • getSceneBgs

        @Deprecated() abstract void >)>getSceneBgs(IThingResultCallback<ArrayList<String>> callback)

        Get the scene background images

        Parameters:
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • getSceneAppearances

        @Deprecated() abstract void )>getSceneAppearances(IThingResultCallback<SceneAppearance> callback)

        Get appearances of the scene

        Parameters:
        callback - callbackcom.thingclips.smart.home.sdk.callback.
      • registerSmartUpdateListener

        @Deprecated() abstract void registerSmartUpdateListener(ISmartUpdateListener listener)

        Register smart scene change notification

        Parameters:
        listener - callbackcom.thingclips.smart.sdk.api.
      • unRegisterSmartUpdateListener

        @Deprecated() abstract void unRegisterSmartUpdateListener(ISmartUpdateListener listener)

        Unregister smart scene change notification

        Parameters:
        listener - callbackcom.thingclips.smart.sdk.api.
      • reisterDevSceneListUpdateListener

        @Deprecated() abstract void reisterDevSceneListUpdateListener(IDevSceneListUpdateListener listUpdateListener)

        Register callback of device related scene refresh data

        Parameters:
        listUpdateListener - callback com.thingclips.smart.sdk.api.
      • unRegisterDevSceneListUpdateListener

        @Deprecated() abstract void unRegisterDevSceneListUpdateListener(IDevSceneListUpdateListener listUpdateListener)

        Unregister callback of device related scene refresh data

        Parameters:
        listUpdateListener - callback com.thingclips.smart.sdk.api.
      • createDpTask

        @Deprecated() abstract SceneTask createDpTask(String devId, HashMap<String, Object> tasks)

        Create task of device data point type

        Parameters:
        devId - id of device
        tasks - data point tasks
      • createSceneTask

        @Deprecated() abstract SceneTask createSceneTask(SceneBean sceneBean)

        Create task of smart control type

        Parameters:
        sceneBean - smart scene to create task
      • createDpGroupTask

        @Deprecated() abstract SceneTask createDpGroupTask(long groupId, HashMap<String, Object> tasks)

        Create task of device groups type

        Parameters:
        groupId - id of groups
        tasks - data point tasks{"1": true,}
      • createDelayTask

        @Deprecated() abstract SceneTask createDelayTask(int minute, int second)

        Create task of delay time type

        Parameters:
        minute - Minute interval
        second - Second interval
      • createPushMessage

        @Deprecated() abstract SceneTask createPushMessage()

        Create task of push message type

      • requestRecomMore

        @Deprecated() abstract void requestRecomMore(long homeid, IResultCallback callback)

        Get more recommended scenes

        Parameters:
        homeid - id of family
        callback - callbackcom.thingclips.smart.sdk.api.
      • requestRecomMoreNew

        @Deprecated() abstract void requestRecomMoreNew(long homeid, IResultCallback callback)

        Get more recommended scenes

      • getSceneLogs

        @Deprecated() abstract void )>getSceneLogs(long homeId, long startTime, long endTime, int size, String lastId, long lastRecordTime, IThingResultCallback<SceneLogResBean> callback)

        Get scene log

        Parameters:
        homeId - id of family
        startTime - Time of starting query
        endTime - Time of ending query
        size - Count of query
        lastId - Query the eventId of the last returned end data, pass null for the first query
        lastRecordTime - Query the last time to return the last data execTime, pass 0 that is the first query
        callback - callbackcom.thingclips.smart.sdk.api.
      • getSceneDevLogs

        @Deprecated() abstract void )>getSceneDevLogs(long homeId, String devId, long startTime, long endTime, int size, String lastId, long lastRecordTime, IThingResultCallback<SceneLogResBean> callback)

        Get the linkage log of the scenes related to the device

        Parameters:
        homeId - id of family
        devId - id of device
        startTime - Time of starting query
        endTime - Time of ending query
        size - Count of query
        lastId - Query the eventId of the last returned end data, pass null for the first query
        lastRecordTime - Query the last time to return the last data execTime, pass 0 that is the first query
        callback - callbackcom.thingclips.smart.sdk.api.
      • getSceneLogDetail

        @Deprecated() abstract void >)>getSceneLogDetail(long homeId, String eventId, long startTime, long endTime, long returnType, IThingResultCallback<ArrayList<SceneLogDetailBean>> callback)

        Get scene linkage log execution details

        Parameters:
        homeId - id of family
        eventId - id of event
        startTime - Time of starting query
        endTime - Time of ending query
        returnType - Return status details, 0 is all status, 1 is failure status
        callback - callbackcom.thingclips.smart.sdk.api.
      • getSceneCaches

        @Deprecated() abstract List<SceneBean> getSceneCaches()

        Get scenes in the cache

      • getSceneCache

        @Deprecated() abstract SceneBean getSceneCache(String sceneId)
      • createDevCondition

        @Deprecated() abstract SceneCondition createDevCondition(DeviceBean devBean, String dpId, Rule rule)

        Create device type conditions

        Parameters:
        devBean - device in condition com.thingclips.smart.sdk.bean.
        dpId - id of data point in condition
        rule - rule of condition com.thingclips.smart.home.sdk.bean.scene.condition.rule.
      • createWeatherCondition

        @Deprecated() abstract SceneCondition createWeatherCondition(PlaceFacadeBean place, String type, Rule rule)

        Create weather type conditions

        Parameters:
        place - current city
        type - type of condition
        rule - rule of conditionRule
      • createTimerCondition

        @Deprecated() abstract SceneCondition createTimerCondition(String display, String name, String type, Rule rule)

        Create timer type conditions

        Parameters:
        display - User-selected time conditions for display
        name - name of condition
        type - type of condition
        rule - rule of condition Rule
      • createGeoFenceCondition

        @Deprecated() abstract SceneCondition createGeoFenceCondition(double lat, double lng, int radius, String address, GeoType geoType)

        Create condition of geo-fence typeMust have google geo api key to take effectAfter creation, the next call to >)>getSceneList will activate all automated geofencing registrations

        Parameters:
        lat - Latitude of the trigger center point
        lng - Longitude of the trigger center point
        radius - Radius of the trigger center
        address - Trigger point geographic location name
        geoType - type of trigger com.thingclips.smart.home.sdk.bean.scene.condition.
      • removeAllGeoFence

        @Deprecated() abstract void removeAllGeoFence()

        remove all geo-fence

      • getHomeRecommendList

        @Deprecated() abstract void >)>getHomeRecommendList(long homeid, IThingResultCallback<ArrayList<SceneBean>> callback)

        Get recommend scenes on home page

        Parameters:
        homeid - id of family
        callback - callbackcom.thingclips.smart.sdk.api.
      • removeRecommendScene

        @Deprecated() abstract void )>removeRecommendScene(long homeid, String recommendId, IThingResultCallback<Boolean> callback)

        Not interested in scene recommendations on home page

        Parameters:
        homeid - id of family
        recommendId - id of recommend scene
        callback - callbackcom.thingclips.smart.sdk.api.
      • onDestroy

        @Deprecated() abstract void onDestroy()

        Do something after destroy like release resource