public interface MiscService
Modifier and Type | Method and Description |
---|---|
InvocationFuture<java.lang.Void> |
clearDirCache(java.util.List<DirCacheFileType> fileTypes,
long startTime,
long endTime)
Delete the local cache in the SDK
|
InvocationFuture<java.lang.String> |
getSdkLogUpload(boolean cut,
java.lang.String roomId,
java.lang.String uploadMsg)
Upload log files
|
InvocationFuture<java.lang.Long> |
getServerTime()
Get the current timestamp on the server.
|
InvocationFuture<java.lang.Long> |
getSizeOfDirCache(java.util.List<DirCacheFileType> fileTypes,
long startTime,
long endTime)
Get the size of the local cache in the SDK
|
InvocationFuture<java.lang.String> |
zipLogs()
Compress log files into a zip file
|
InvocationFuture<java.lang.String> zipLogs()
InvocationFuture<java.lang.Long> getSizeOfDirCache(java.util.List<DirCacheFileType> fileTypes, long startTime, long endTime)
fileTypes
- List of file typesstartTime
- The start time in milliseconds. A value of 0 indicates no start time is specified.endTime
- The end time in milliseconds. A value of 0 indicates no end time is specified.InvocationFuture<java.lang.Void> clearDirCache(java.util.List<DirCacheFileType> fileTypes, long startTime, long endTime)
fileTypes
- List of file typesstartTime
- The start time in milliseconds. A value of 0 indicates no start time is specified.endTime
- The end time in milliseconds. A value of 0 indicates no end time is specified.InvocationFuture<java.lang.Long> getServerTime()
Minimum interval is 1000ms.
InvocationFuture<java.lang.String> getSdkLogUpload(boolean cut, java.lang.String roomId, java.lang.String uploadMsg)
cut
- true: Upload part of log files; false: Upload all log files.roomId
- The chat room ID. If no chat room exists, enter "".uploadMsg
- The additional messages for uploading SDK log files. The parameter is optional. The message can contains up to 4096 characters long.