StorageReference
Represents a reference to a Google Cloud Storage object. Developers can upload and download objects, get/set object metadata, and delete an object at a specified path.
Constructors
Properties
Returns a new instance of StorageReference pointing to the parent location or null if this instance references the root location. For example:
Returns a new instance of {@link StorageReference} pointing to the root location.
Functions
Returns a new instance of StorageReference pointing to a child location of the current reference. All leading and trailing slashes will be removed, and consecutive slashes will be compressed to single slashes. For example:
Asynchronously retrieves a long lived download URL with a revokable token. This can be used to share the file with others, but can be revoked by a developer in the Firebase Console if desired.
List all items (files) and prefixes (folders) under this StorageReference.
Asynchronously uploads byte data to this StorageReference. This is not recommended for large files. Instead upload a file via putFile.