FileUpload
Provides access to methods for uploading a file. A file transfer object is obtained by calling the FileSharingManager#createFileTransfer method.
Events
status
status : FileTransferStatus, error? : Error - Emitted every time the status of the file transfer changes.progress
value : number - Emitted every time the progress changes
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
getRestriction(): string[] |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
hasStatus(statuses: FileUploadStatus): boolean |
Public Methods
public hasStatus(statuses: FileUploadStatus): boolean source
Params:
Name | Type | Attribute | Description |
statuses | FileUploadStatus |