firebase
Namespace that encompasses all Firebase APIs.
Summary
Enumerations | |
|---|---|
FutureStatus{ | enum Asynchronous call status. |
InitResult{ | enum Reports whether a Firebase module initialized successfully. |
LogLevel{ | enum Levels used when logging messages. |
Typedefs | |
|---|---|
FutureHandleId | typedefuintptr_tHandle that the API uses to identify an asynchronous call. |
Functions | |
|---|---|
GetLogLevel() | Gets the logging verbosity. |
SetLogLevel(LogLevel level) | voidSets the logging verbosity. |
operator!=(constTimestamp & lhs, constTimestamp & rhs) | boolChecks lhs andrhs for inequality. |
operator<(constTimestamp & lhs, constTimestamp & rhs) | boolChecks whether lhs andrhs are in ascending order. |
operator<=(constTimestamp & lhs, constTimestamp & rhs) | boolChecks whether lhs andrhs are in non-descending order. |
operator==(constTimestamp & lhs, constTimestamp & rhs) | boolChecks lhs andrhs for equality. |
operator>(constTimestamp & lhs, constTimestamp & rhs) | boolChecks whether lhs andrhs are in descending order. |
operator>=(constTimestamp & lhs, constTimestamp & rhs) | boolChecks whether lhs andrhs are in non-ascending order. |
Classes | |
|---|---|
| firebase:: | Firebase application object. |
| firebase:: | Options that control the creation of a FirebaseApp. |
| firebase:: | Type-specific version ofFutureBase. |
| firebase:: | Type-independent return type of asynchronous calls. |
| firebase:: | Class that provides more context to FutureHandleId, which allows the underlying API to track handles, perform reference counting, etc. |
| firebase:: | Utility class to help with initializing Firebase modules. |
| firebase:: | ATimestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. |
| firebase:: | Variant data type used by Firebase libraries. |
Namespaces | |
|---|---|
| firebase:: | Firebase Analytics API. |
| firebase:: | |
| firebase:: | Firebase Authentication API. |
| firebase:: | Namespace for the Firebase RealtimeDatabase C++ SDK. |
| firebase:: | CloudFirestore API. |
| firebase:: | Namespace for the Firebase C++ SDK for CloudFunctions. |
| firebase:: | |
| firebase:: | Firebase Cloud Messaging API. |
| firebase:: | Firebase Remote Config API. |
| firebase:: | Namespace for the Firebase C++ SDK for CloudStorage. |
| firebase:: | API for User Messaging Platform. |
Enumerations
FutureStatus
FutureStatusAsynchronous call status.
| Properties | |
|---|---|
kFutureStatusComplete | Results are ready. |
kFutureStatusInvalid | No result is pending. FutureBase::Release() or move operator was called. |
kFutureStatusPending | Result is still being processed. |
InitResult
InitResultReports whether a Firebase module initialized successfully.
| Properties | |
|---|---|
kInitResultFailedMissingDependency | The given library failed to initialize due to a missing dependency. On Android, this typically means that Google Play services is not available and the library requires it. Usegoogle_play_services::CheckAvailability() andgoogle_play_services::MakeAvailable() to resolve this issue. Also, on Android, this value can be returned if the Java dependencies of a Firebase component are not included in the application, causing initialization to fail. This means that the application's build environment is not configured correctly. To resolve the problem, see the SDK setup documentation for the set of Java dependencies (AARs) required for the component that failed to initialize. |
kInitResultSuccess | The given library was successfully initialized. |
LogLevel
LogLevelTypedefs
FutureHandleId
uintptr_tFutureHandleId
Handle that the API uses to identify an asynchronous call.
The exact interpretation of the handle is up to the API.
Functions
GetLogLevel
LogLevelGetLogLevel()
Gets the logging verbosity.
| Details | |
|---|---|
| Returns | Get the currently configured logging verbosity. |
SetLogLevel
voidSetLogLevel(LogLevellevel)
Sets the logging verbosity.
All log messages at or above the specific log level.
| Details | |||
|---|---|---|---|
| Parameters |
|
operator<
booloperator<(constTimestamp&lhs,constTimestamp&rhs)
Checks whetherlhs andrhs are in ascending order.
operator<=
booloperator<=(constTimestamp&lhs,constTimestamp&rhs)
Checks whetherlhs andrhs are in non-descending order.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-23 UTC.