public class FileManager extends AbstractService
构造器和说明 |
---|
FileManager() |
限定符和类型 | 方法和说明 |
---|---|
void |
getDownloadUrl(java.lang.String fileName)
获取文件下载url
|
void |
getUploadUrl(java.lang.String fileName)
获取文件上传url
|
void |
onEvent(DeviceEvent deviceEvent)
接收文件处理事件
|
disableAutoReport, enableAutoReport, firePropertiesChanged, getIotDevice, getServiceId, onCommand, onRead, onWrite, setIotDevice, setServiceId
public void getUploadUrl(java.lang.String fileName)
fileName
- 文件名public void getDownloadUrl(java.lang.String fileName)
fileName
- 下载文件名public void onEvent(DeviceEvent deviceEvent)
onEvent
在接口中 IService
onEvent
在类中 AbstractService
deviceEvent
- 服务事件