firebase

Namespace that encompasses all Firebase APIs.

Summary

Enumerations

FutureStatus{
  kFutureStatusComplete,
  kFutureStatusPending,
  kFutureStatusInvalid
}
enum
Asynchronous call status.
InitResult{
  kInitResultSuccess = 0,
  kInitResultFailedMissingDependency
}
enum
Reports whether a Firebase module initialized successfully.

Typedefs

FutureHandle typedef
uintptr_t
Handle that the API uses to identify an asynchronous call.

Classes

firebase::App

Firebase application object.

firebase::AppOptions

Options that control the creation of a Firebase App.

firebase::Future

Type-specific version of FutureBase.

firebase::FutureBase

Type-independent return type of asynchronous calls.

firebase::ModuleInitializer

Utility class to help with initializing Firebase modules.

firebase::Variant

Variant data type used by Firebase libraries.

Namespaces

firebase::admob

API for AdMob with Firebase.

firebase::analytics

Firebase Analytics API.

firebase::auth

Firebase Authentication API.

firebase::database

Namespace for the Firebase Realtime Database C++ SDK.

firebase::invites

Firebase Invites API.

firebase::messaging

Firebase Cloud Messaging API.

firebase::remote_config

Firebase Remote Config API.

firebase::storage

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

Enumerations

FutureStatus

 FutureStatus

Asynchronous 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

 InitResult

Reports 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. Use google_play_services::CheckAvailability() and google_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.

Typedefs

FutureHandle

uintptr_t FutureHandle

Handle that the API uses to identify an asynchronous call.

The exact interpretation of the handle is up to the API.

Send feedback about...

Need help? Visit our support page.