Package | com.myflashlab.air.extensions.firebase.storage |
Class | public class Storage |
Inheritance | Storage Object |
Property | Defined 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 |
Method | Defined 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 |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.firebase.storage [static] | Storage | ||
VERSION : String = 9.9.0 [static] | Storage |
maxDownloadRetryTimeMillis | property |
maxDownloadRetryTimeMillis:Number
Indicates the maximum time in milliseconds to retry a download if a failure occurs. Defaults to 10 minutes (600,000 milliseconds).
public static function get maxDownloadRetryTimeMillis():Number
public static function set maxDownloadRetryTimeMillis(value:Number):void
maxOperationRetryTimeMillis | property |
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).
public static function get maxOperationRetryTimeMillis():Number
public static function set maxOperationRetryTimeMillis(value:Number):void
maxUploadRetryTimeMillis | property |
maxUploadRetryTimeMillis:Number
Indicates the maximum time in milliseconds to retry an upload if a failure occurs. Defaults to 10 minutes (600,000 milliseconds).
public static function get maxUploadRetryTimeMillis():Number
public static function set maxUploadRetryTimeMillis(value:Number):void
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()
|
StorageReference — |
init | () | method |
public static function init():void
Call this method prior to any other Storage methods.
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.firebase.storage
VERSION | Constant |
public static const VERSION:String = 9.9.0