Namespace for the Firebase C++ SDK for Cloud Storage.

Summary

Enumerations

Error{
  kErrorNone = 0,
  kErrorUnknown,
  kErrorObjectNotFound,
  kErrorBucketNotFound,
  kErrorProjectNotFound,
  kErrorQuotaExceeded,
  kErrorUnauthenticated,
  kErrorUnauthorized,
  kErrorRetryLimitExceeded,
  kErrorNonMatchingChecksum,
  kErrorDownloadSizeExceeded,
  kErrorCancelled
}
enum

Error code returned by Cloud Storage C++ functions.

Functions

GetErrorMessage(Error error)

const char *

Get the human-readable error message corresponding to an error code.

Classes

firebase::storage::Controller

Controls an ongoing operation, allowing the caller to Pause, Resume or Cancel an ongoing download or upload.

firebase::storage::Listener

Base class used to receive pause and progress events on a running read or write operation.

firebase::storage::Metadata

Metadata stores default attributes such as size and content type.

firebase::storage::Storage

Entry point for the Firebase C++ SDK for Cloud Storage.

firebase::storage::StorageReference

Represents a reference to a Cloud Storage object.

Enumerations

Functions

GetErrorMessage

const char * GetErrorMessage(
  Error error
)

Get the human-readable error message corresponding to an error code.

Details
Parameters
error

Error code to get the error message for.

Returns

Statically-allocated string describing the error.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-06-30 UTC.