-
public interface ILogServiceScene logging capability
-
-
Method Summary
Modifier and Type Method Description abstract UnitgetExecuteLogAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)Get a list of execution logs abstract UnitgetSceneLogInfoAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)Get a list of execution logs(Include the logs which execute in local). abstract UnitgetDeviceLogAll(Long relationId, String deviceId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)Get a list of device logs abstract UnitgetExecuteLogDetail(Long relationId, String eventId, Long startTime, Long endTime, Long returnType, IResultCallback<List<<ERROR CLASS>>> callback)Get execution log details abstract UnithasNewlyGeneratedSceneLog(Long relationId, IResultCallback<Boolean> callback)Check whether there are newly generated scene logs under the home abstract UnitonDestroy()when destroy -
-
Method Detail
-
getExecuteLogAll
abstract Unit getExecuteLogAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)
Get a list of execution logs
- Parameters:
relationId- the relation id of the current nodestartTime- start timeendTime- end timesize- countlastId- The id of the last record in the paginationlastRecordTime- the execute time of the last record in the paginationcallback- callback IResultCallback, ExecuteLogList
-
getSceneLogInfoAll
abstract Unit getSceneLogInfoAll(Long relationId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)
Get a list of execution logs(Include the logs which execute in local).
- Parameters:
relationId- the relation id of the current nodestartTime- start timeendTime- end timesize- countlastId- The id of the last record in the paginationlastRecordTime- the execute time of the last record in the paginationcallback- callback IResultCallback, ExecuteLogList
-
getDeviceLogAll
abstract Unit getDeviceLogAll(Long relationId, String deviceId, Long startTime, Long endTime, Integer size, String lastId, Long lastRecordTime, IResultCallback<<ERROR CLASS>> callback)
Get a list of device logs
- Parameters:
relationId- the relation id of the current nodedeviceId- the id of the devicestartTime- start timeendTime- end timesize- countlastId- The id of the last record in the paginationlastRecordTime- the execute time of the last record in the paginationcallback- callback IResultCallback, ExecuteLogList
-
getExecuteLogDetail
abstract Unit getExecuteLogDetail(Long relationId, String eventId, Long startTime, Long endTime, Long returnType, IResultCallback<List<<ERROR CLASS>>> callback)
Get execution log details
- Parameters:
relationId- the relation id of the current nodeeventId- the id of eventstartTime- start timeendTime- end timereturnType- Return status details, 0 is all status, 1 is failure statuscallback- callback IResultCallback, ExecuteLogList
-
hasNewlyGeneratedSceneLog
abstract Unit hasNewlyGeneratedSceneLog(Long relationId, IResultCallback<Boolean> callback)
Check whether there are newly generated scene logs under the home
- Parameters:
relationId- the relation id of the current nodecallback- callback IResultCallback
-
onDestroy
abstract Unit onDestroy()
when destroy
-
-
-
-