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

iFirebaseStorage

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)

  GetMetadata (ServerPath As String)

  Initialize (EventName As String, Bucket As String)

  UploadFile (Dir As String, FileName As String, 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.
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 on 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]

  Tag As Object

  Timestamp As Long [read only]

Members description:

IsInitialized As Boolean
Tests whether this object was initialized.
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.
Tag As Object
Gets or sets the Tag object. This is a placeholder for any object you like to tie to this object.
Timestamp As Long [read only]
Returns the last updated time as ticks. This method will throw an exception if the value is not available.
Top