-
public interface IThingSweeper
The laser sweeper interface manifest.
-
-
Method Summary
Modifier and Type Method Description abstract void
initCloudConfig(String devId, IThingCloudConfigCallback callback)
init oss cloud config abstract void
updateCloudConfig(String devId, IThingCloudConfigCallback callback)
update oss cloud config abstract void
startConnectSweeperDataChannel(IThingSweeperDataListener listener)
open laser sweeper url data channel abstract void
stopConnectSweeperDataChannel()
close laser sweeper url data channel abstract void
startConnectSweeperByteDataChannel(IThingSweeperByteDataListener listener)
open laser sweeper byte data channel abstract void
stopConnectSweeperByteDataChannel()
close laser sweeper byte data channel abstract void
getSweeperByteData(String bucket, String path, IThingByteDataListener listener)
get byte data from bucket and subPath abstract String
getCloudFileUrl(String bucket, String path)
get oss url abstract void
getSweeperHistoryData(String devId, int limit, int offset, IThingResultCallback<SweeperHistory> callback)
get history clean record abstract void
getSweeperHistoryData(String devId, int limit, int offset, long startTime, long endTime, IThingResultCallback<SweeperHistory> callback)
get history clean record abstract void
deleteSweeperHistoryData(String devId, List<String> fileIdList, IThingDelHistoryCallback callback)
delete history clean record abstract void
deleteAllHistoryData(String devId, IThingDelHistoryCallback callback)
delete all history clean record abstract void
getSweeperCurrentPath(String devId, IThingResultCallback<SweeperPathBean> callback)
Gets the map data file path abstract void
onDestroy()
release this module -
-
Method Detail
-
initCloudConfig
abstract void initCloudConfig(String devId, IThingCloudConfigCallback callback)
init oss cloud config
- Parameters:
devId
- devIdcallback
- callback callback when api request success or fail.
-
updateCloudConfig
abstract void updateCloudConfig(String devId, IThingCloudConfigCallback callback)
update oss cloud config
- Parameters:
devId
- devIdcallback
- callback when api request success or fail.
-
startConnectSweeperDataChannel
abstract void startConnectSweeperDataChannel(IThingSweeperDataListener listener)
open laser sweeper url data channel
- Parameters:
listener
- listener when messages are received com.thingclips.smart.android.sweeper.IThingSweeperDataListener
-
stopConnectSweeperDataChannel
abstract void stopConnectSweeperDataChannel()
close laser sweeper url data channel
-
startConnectSweeperByteDataChannel
abstract void startConnectSweeperByteDataChannel(IThingSweeperByteDataListener listener)
open laser sweeper byte data channel
- Parameters:
listener
- listener when messages are received com.thingclips.smart.android.sweeper.IThingSweeperByteDataListener
-
stopConnectSweeperByteDataChannel
abstract void stopConnectSweeperByteDataChannel()
close laser sweeper byte data channel
-
getSweeperByteData
abstract void getSweeperByteData(String bucket, String path, IThingByteDataListener listener)
get byte data from bucket and subPath
- Parameters:
bucket
- bucket of osspath
- file subPathlistener
- listener when api get data success or fail com.thingclips.smart.android.sweeper.IThingByteDataListener
-
getCloudFileUrl
abstract String getCloudFileUrl(String bucket, String path)
get oss url
- Parameters:
bucket
- bucket of osspath
- file subPath
-
getSweeperHistoryData
abstract void getSweeperHistoryData(String devId, int limit, int offset, IThingResultCallback<SweeperHistory> callback)
get history clean record
- Parameters:
devId
- devIdlimit
- page numoffset
- data offsetcallback
- callback when api request success or fail com.thingclips.smart.home.sdk.callback.IThingResultCallback
-
getSweeperHistoryData
abstract void getSweeperHistoryData(String devId, int limit, int offset, long startTime, long endTime, IThingResultCallback<SweeperHistory> callback)
get history clean record
- Parameters:
devId
- devIdlimit
- page numoffset
- data offsetstartTime
- start timestampendTime
- end timestampcallback
- callback when api request success or fail com.thingclips.smart.home.sdk.callback.IThingResultCallback
-
deleteSweeperHistoryData
abstract void deleteSweeperHistoryData(String devId, List<String> fileIdList, IThingDelHistoryCallback callback)
delete history clean record
- Parameters:
devId
- devIdfileIdList
- record idscallback
- callback when api request success or fail com.thingclips.smart.android.sweeper.IThingDelHistoryCallback
-
deleteAllHistoryData
abstract void deleteAllHistoryData(String devId, IThingDelHistoryCallback callback)
delete all history clean record
- Parameters:
devId
- devIdcallback
- callback when api request success or fail com.thingclips.smart.android.sweeper.IThingDelHistoryCallback
-
getSweeperCurrentPath
abstract void getSweeperCurrentPath(String devId, IThingResultCallback<SweeperPathBean> callback)
Gets the map data file path
- Parameters:
devId
- devIdcallback
- callback when api request success or fail com.thingclips.smart.android.sweeper.bean.SweeperPathBean
-
onDestroy
abstract void onDestroy()
release this module
-
-
-
-