Packagecom.myflashlab.air.extensions.firebase.storage
Classpublic class FileDownloadTask
InheritanceFileDownloadTask Inheritance StorageTask Inheritance flash.events.EventDispatcher

A task that downloads bytes of a GCS blob to a specified File.



Public Properties
 PropertyDefined By
  bytesTotal : Number
[override] [read-only] the total bytes
FileDownloadTask
  bytesTransferred : Number
[override] [read-only] the total bytes downloaded so far.
FileDownloadTask
 Inheritedexception : String
[read-only] Returns the exception that caused the Task to fail.
StorageTask
  lastError : String
[override] [read-only] the last error encountered
FileDownloadTask
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override]
StorageTask
 Inherited
cancel():void
Attempts to cancel the task.
StorageTask
 Inherited
pause():void
Attempts to pause the task.
StorageTask
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override]
StorageTask
 Inherited
resume():void
Attempts to resume a paused task.
StorageTask
 Inherited
Updates the current state of the task.
StorageTask
Property Detail
bytesTotalproperty
bytesTotal:Number  [read-only] [override]

the total bytes


Implementation
    public function get bytesTotal():Number
bytesTransferredproperty 
bytesTransferred:Number  [read-only] [override]

the total bytes downloaded so far.


Implementation
    public function get bytesTransferred():Number
lastErrorproperty 
lastError:String  [read-only] [override]

the last error encountered


Implementation
    public function get lastError():String