| Package | com.distriqt.extension.firebase.storage | 
| Interface | public interface DownloadTask extends flash.events.IEventDispatcher | 
| Method | Defined By | ||
|---|---|---|---|
| cancel():Boolean 
		 Attempts to cancel the task. | DownloadTask | ||
| 
		 Gets the result of the Task, if it has already completed. | DownloadTask | ||
| 
		 Returns the current state of the task. | DownloadTask | ||
| isCanceled():Boolean 
		 Returns true if the task has been canceled. | DownloadTask | ||
| isComplete():Boolean 
		 Returns true if the Task is complete; false otherwise. | DownloadTask | ||
| isInProgress():Boolean 
		 Returns true if the task is currently running. | DownloadTask | ||
| isPaused():Boolean 
		 Returns true if the task has been paused. | DownloadTask | ||
| isSuccessful():Boolean 
		 Returns true if the Task has completed successfully; false otherwise. | DownloadTask | ||
| pause():Boolean 
		 Attempts to pause the task. | DownloadTask | ||
| resume():Boolean 
		 Attempts to resume a paused task. | DownloadTask | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| DownloadTask | ||||
| DownloadTask | ||||
| DownloadTask | ||||
| DownloadTask | ||||
| DownloadTask | ||||
| cancel | () | method | 
 public function cancel():BooleanAttempts to cancel the task. A canceled task cannot be resumed later.
Returns| Boolean—trueif this task is successfully being canceled. | 
| getResult | () | method | 
 public function getResult():DownloadTaskSnapshotGets the result of the Task, if it has already completed.
Returns| DownloadTaskSnapshot— | 
| getSnapshot | () | method | 
 public function getSnapshot():DownloadTaskSnapshotReturns the current state of the task. This method will return state at any point of the tasks execution and may not be the final result..
Returns| DownloadTaskSnapshot— | 
| isCanceled | () | method | 
 public function isCanceled():BooleanReturns true if the task has been canceled.
Returns| Boolean— | 
| isComplete | () | method | 
 public function isComplete():BooleanReturns true if the Task is complete; false otherwise.
Returns| Boolean— | 
| isInProgress | () | method | 
 public function isInProgress():BooleanReturns true if the task is currently running.
Returns| Boolean— true if the task is currently running | 
| isPaused | () | method | 
 public function isPaused():BooleanReturns true if the task has been paused.
Returns| Boolean— true if the task has been paused | 
| isSuccessful | () | method | 
 public function isSuccessful():BooleanReturns true if the Task has completed successfully; false otherwise.
Returns| Boolean— | 
| pause | () | method | 
 public function pause():BooleanAttempts to pause the task. A paused task can later be resumed.
Returns| Boolean—trueif this task is successfully being paused. 
		 			Note that a task may not be immediately paused if it was executing 
		 			another action and can still fail or complete. | 
| resume | () | method | 
 public function resume():BooleanAttempts to resume a paused task.
Returns| Boolean—trueif the task is successfully resumed.falseif the task has an unrecoverable error 
		 			or has entered another state that precludes resume | 
| downloadtask:complete | Event | 
com.distriqt.extension.firebase.storage.events.DownloadTaskEventcom.distriqt.extension.firebase.storage.events.DownloadTaskEvent.COMPLETE
| downloadtask:error | Event | 
com.distriqt.extension.firebase.storage.events.DownloadTaskEventcom.distriqt.extension.firebase.storage.events.DownloadTaskEvent.ERROR
| downloadtask:paused | Event | 
com.distriqt.extension.firebase.storage.events.DownloadTaskEventcom.distriqt.extension.firebase.storage.events.DownloadTaskEvent.PAUSED
| downloadtask:progress | Event | 
com.distriqt.extension.firebase.storage.events.DownloadTaskEventcom.distriqt.extension.firebase.storage.events.DownloadTaskEvent.PROGRESS
| downloadtask:success | Event | 
com.distriqt.extension.firebase.storage.events.DownloadTaskEventcom.distriqt.extension.firebase.storage.events.DownloadTaskEvent.SUCCESS