Package | com.myflashlab.air.extensions.firebase.storage |
Class | public class UploadTask |
Inheritance | UploadTask StorageTask flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
bytesTotal : Number [override] [read-only] the total bytes to upload | UploadTask | ||
bytesTransferred : Number [override] [read-only] the total bytes uploaded so far. | UploadTask | ||
exception : String [read-only]
Returns the exception that caused the Task to fail. | StorageTask | ||
lastError : String [override] [read-only] the last error encountered | UploadTask | ||
metadata : StorageMetadata [override] [read-only]
The metadata for the object. | UploadTask | ||
uploadSessionUri : String [override] [read-only]
The session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into
putFile method. | UploadTask |
bytesTotal | property |
bytesTotal:Number
[read-only] [override] the total bytes to upload
public function get bytesTotal():Number
bytesTransferred | property |
bytesTransferred:Number
[read-only] [override] the total bytes uploaded so far.
public function get bytesTransferred():Number
lastError | property |
lastError:String
[read-only] [override] the last error encountered
public function get lastError():String
metadata | property |
metadata:StorageMetadata
[read-only] [override] The metadata for the object. After uploading, this will return the resulting final Metadata which will include the upload URL.
public function get metadata():StorageMetadata
uploadSessionUri | property |
uploadSessionUri:String
[read-only] [override]
The session Uri, valid for approximately one week, which can be used to resume an upload later by passing this value into
putFile
method.
This is not available on the iOS side yet. This means you can't resume your upload after closing the app! We hope Firebase will add this feature soon.
public function get uploadSessionUri():String