Packagecom.myflashlab.air.extensions.firebase.storage
Classpublic class Storage
InheritanceStorage Inheritance Object

Storage is a service that supports uploading and downloading large objects to Google Cloud Storage.



Public Properties
 PropertyDefined By
  maxDownloadRetryTimeMillis : Number
[static] Indicates the maximum time in milliseconds to retry a download if a failure occurs.
Storage
  maxOperationRetryTimeMillis : Number
[static] Indicates the maximum time in milliseconds to retry operations other than upload and download if a failure occurs.
Storage
  maxUploadRetryTimeMillis : Number
[static] Indicates the maximum time in milliseconds to retry an upload if a failure occurs.
Storage
Public Methods
 MethodDefined By
  
getReference($location:String, $fullUrl:String = null):StorageReference
[static] Creates a new StorageReference instance.
Storage
  
init():void
[static] Call this method prior to any other Storage methods.
Storage
Public Constants
 ConstantDefined By
  EXTENSION_ID : String = com.myflashlab.air.extensions.firebase.storage
[static]
Storage
  VERSION : String = 9.9.0
[static]
Storage
Property Detail
maxDownloadRetryTimeMillisproperty
maxDownloadRetryTimeMillis:Number

Indicates the maximum time in milliseconds to retry a download if a failure occurs. Defaults to 10 minutes (600,000 milliseconds).


Implementation
    public static function get maxDownloadRetryTimeMillis():Number
    public static function set maxDownloadRetryTimeMillis(value:Number):void
maxOperationRetryTimeMillisproperty 
maxOperationRetryTimeMillis:Number

Indicates the maximum time in milliseconds to retry operations other than upload and download if a failure occurs. Defaults to 2 minutes (120,000 milliseconds).


Implementation
    public static function get maxOperationRetryTimeMillis():Number
    public static function set maxOperationRetryTimeMillis(value:Number):void
maxUploadRetryTimeMillisproperty 
maxUploadRetryTimeMillis:Number

Indicates the maximum time in milliseconds to retry an upload if a failure occurs. Defaults to 10 minutes (600,000 milliseconds).


Implementation
    public static function get maxUploadRetryTimeMillis():Number
    public static function set maxUploadRetryTimeMillis(value:Number):void
Method Detail
getReference()method
public static function getReference($location:String, $fullUrl:String = null):StorageReference

Creates a new StorageReference instance. If the $location parameter is an empty String "", the reference will be initialized at the root Firebase Storage location. However, you can set the $location parameter to a child Firebase Storage location.

On the other hand, you can set the $location parameter to null and instead set the $fullUrl parameter to a gs:// or http[s]:// URL pointing to a Firebase Storage location.

Parameters

$location:String — A relative path from the root to initialize the reference with, for instance "path/to/object"
 
$fullUrl:String (default = null) — A gs:// or http[s]:// URL used to initialize the reference. For example, you can pass in a download URL retrieved from getDownloadUrl()

Returns
StorageReference
init()method 
public static function init():void

Call this method prior to any other Storage methods.

Constant Detail
EXTENSION_IDConstant
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.firebase.storage

VERSIONConstant 
public static const VERSION:String = 9.9.0