Android Programming Press on the image to return to the main documentation page.

FirebaseStorage

List of types:

FirebaseStorage
StorageMetadata

FirebaseStorage


Events:

UploadCompleted (ServerPath As String, Success As Boolean)
DownloadCompleted (ServerPath As String, Success As Boolean)
MetadataCompleted (Metadata As StorageMetadata, Success As Boolean)
DeleteCompleted (ServerPath As String, Success As Boolean)

Members:


  DeleteFile (ServerPath As String)

  DownloadFile (ServerPath As String, Dir As String, FileName As String)

  DownloadStream (ServerPath As String, OutputStream As java.io.OutputStream)

  GetMetadata (ServerPath As String)

  Initialize (EventName As String, Bucket As String)

  UploadFile (Dir As String, FileName As String, ServerPath As String)

  UploadStream (InputStream As java.io.InputStream, ServerPath As String)

Members description:

DeleteFile (ServerPath As String)
Deletes the remote resource. The DeleteCompleted event will be raised in the current module.
DownloadFile (ServerPath As String, Dir As String, FileName As String)
Downloads the remote resource and writes it to the specified file.
The DownloadCompleted event will be raised in the current module.
DownloadStream (ServerPath As String, OutputStream As java.io.OutputStream)
Downloads the remote resource and writes it to the OutputStream.
The DownloadCompleted event will be raised in the current module.
GetMetadata (ServerPath As String)
Retrieves the metadata of the remote resource. The MetadataCompleted event will be raised in the current module.
Initialize (EventName As String, Bucket As String)
Initializes the object.
Bucket - The url from Firebase console (ex: gs://yourapp.appspot.com)
UploadFile (Dir As String, FileName As String, ServerPath As String)
Reads the data from the file and uploads it to the specified ServerPath.
The UploadCompleted event will be raised in the current module.
UploadStream (InputStream As java.io.InputStream, ServerPath As String)
Reads the data from the input stream and uploads it to the specified ServerPath.
The UploadCompleted event will be raised in the current module.

StorageMetadata


Events:

None

Members:


  IsInitialized As Boolean

  Name As String [read only]

  Path As String [read only]

  Size As Long [read only]

  Timestamp As Long [read only]

Members description:

IsInitialized As Boolean
Name As String [read only]
Returns the resource name.
Path As String [read only]
Returns the resource path.
Size As Long [read only]
Returns the resource size in bytes.
Timestamp As Long [read only]
Returns the last updated time as ticks.
Top