Options
All
  • Public
  • Public/Protected
  • All
Menu

Firebase Storage Event Tools

namespace

Index

Functions

  • deleteFile(filePath: string, callbackStateVariable?: Variable): void
  • Deletes a file on the remote storage bucket.

    Parameters

    • filePath: string

      The path in the remote storage bucket to the file to download.

    • Optional callbackStateVariable: Variable

    Returns void

  • getDownloadURL(filePath: string, callbackValueVariable?: Variable, callbackStateVariable?: Variable): void
  • Generate a download URL for a file.

    Parameters

    • filePath: string

      The path in the remote storage bucket to the file to download.

    • Optional callbackValueVariable: Variable
    • Optional callbackStateVariable: Variable

    Returns void

  • uploadFile(uploadID: string, file: string, onlinePath: string, type?: "none" | "base64" | "base64url" | "data_url", callbackStateVariable?: Variable, callbackValueVariable?: Variable): void
  • Uploads a file as string to the firebase storage bucket.

    Parameters

    • uploadID: string
    • file: string

      The entire file as string.

    • onlinePath: string

      The path under which the file will be accessible on the bucket.

    • Optional type: "none" | "base64" | "base64url" | "data_url"
    • Optional callbackStateVariable: Variable
    • Optional callbackValueVariable: Variable

    Returns void

Variables

uploads: Map<string, UploadTask> = ...

The map containing all current uploads.

Generated using TypeDoc