FileUploadTask 类

定义

Provide means to asynchronous upload file in the Azure Storage using the IoTHub.

The file upload process is composed by 3 steps represented in the follow diagram. ++ ++ ++ ++ | Device | | Iot Hub | | Storage | | Service | ++ ++ ++ ++ | | | | | | | | REQUEST_BLOB | | | + request blob >| | | |< blob SAS token + | | | | | | UPLOAD_FILE | | | +- upload file to the provided blob >| | +< end of upload with `status` + | | | | | NOTIFY_IOTHUB | | | + notify status >| | | | + notify new file available ->| | | | |

public class FileUploadTask
继承
java.lang.Object
Runnable
FileUploadTask

构造函数

FileUploadTask(HttpsTransportManager httpsTransportManager)

方法

close()
getFileUploadSasUri(FileUploadSasUriRequest request)
run()
sendNotification(FileUploadCompletionNotification fileUploadStatusParser)

适用于