Firebase C++ API Reference
firebase
Classes | |
|---|---|
| firebase::App | Firebase application object. |
| firebase::AppOptions | Options that control the creation of a FirebaseApp. |
| firebase::Future | Type-specific version ofFutureBase. |
| firebase::FutureBase | Type-independent return type of asynchronous calls. |
| firebase::FutureHandle | Class that provides more context to FutureHandleId, which allows the underlying API to track handles, perform reference counting, etc. |
| firebase::ModuleInitializer | Utility class to help with initializing Firebase modules. |
| firebase::Timestamp | 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 | Variant data type used by Firebase libraries. |
firebase:: analytics
Structs | |
|---|---|
| firebase::analytics::Parameter | Event parameter. |
firebase:: app_check
Classes | |
|---|---|
| firebase::app_check::AppAttestProviderFactory | Implementation of anAppCheckProviderFactory that builds AppAttestProviders. |
| firebase::app_check::AppCheck | FirebaseApp Check object. |
| firebase::app_check::AppCheckListener | Base class used to receive messages whenAppCheck token changes. |
| firebase::app_check::AppCheckProvider | Interface for a provider that generatesAppCheckTokens. |
| firebase::app_check::AppCheckProviderFactory | Interface for a factory that generatesAppCheckProviders. |
| firebase::app_check::DebugAppCheckProviderFactory | Implementation of anAppCheckProviderFactory that builds DebugAppCheckProviders. |
| firebase::app_check::DeviceCheckProviderFactory | Implementation of anAppCheckProviderFactory that builds DeviceCheckProviders. |
| firebase::app_check::PlayIntegrityProviderFactory | Implementation of anAppCheckProviderFactory that builds PlayIntegrityProviders. |
Structs | |
|---|---|
| firebase::app_check::AppCheckToken | Struct to hold tokens emitted by the FirebaseApp Check service which are minted upon a successful application verification. |
firebase:: auth
Classes | |
|---|---|
| firebase::auth::Auth | Firebase authentication object. |
| firebase::auth::Auth::FetchProvidersResult | Results of calls FetchProvidersForEmail. |
| firebase::auth::AuthStateListener | Listener called when there is a change in the authentication state. |
| firebase::auth::Credential | Authentication credentials for an authentication provider. |
| firebase::auth::EmailAuthProvider | Use email and password to authenticate. |
| firebase::auth::FacebookAuthProvider | Use an access token provided by Facebook to authenticate. |
| firebase::auth::FederatedAuthProvider | Used to authenticate with FederatedAuth Providers. |
| firebase::auth::FederatedOAuthProvider | Authenticates with Federated OAuth Providers via thefirebase::auth::Auth andfirebase::auth::User classes. |
| firebase::auth::GameCenterAuthProvider | GameCenter (Apple) auth provider. |
| firebase::auth::GitHubAuthProvider | Use an access token provided by GitHub to authenticate. |
| firebase::auth::GoogleAuthProvider | Use an ID token and access token provided by Google to authenticate. |
| firebase::auth::IdTokenListener | Listener called when there is a change in the ID token. |
| firebase::auth::MicrosoftAuthProvider | Use an access token provided by Microsoft to authenticate. |
| firebase::auth::OAuthProvider | OAuth2.0+UserInfo auth provider (OIDC compliant and non-compliant). |
| firebase::auth::PhoneAuthCredential | Wraps phone number and verification information for authentication purposes. |
| firebase::auth::PhoneAuthProvider | Use phone number text messages to authenticate. |
| firebase::auth::PhoneAuthProvider::ForceResendingToken | Token to maintain current phone number verification session. |
| firebase::auth::PhoneAuthProvider::Listener | Receive callbacks fromVerifyPhoneNumber events. |
| firebase::auth::PlayGamesAuthProvider | Use a server auth code provided by Google Play Games to authenticate. |
| firebase::auth::TwitterAuthProvider | Use a token and secret provided by Twitter to authenticate. |
| firebase::auth::User | Firebase user account object. |
| firebase::auth::User::UserProfile | Parameters to theUpdateUserProfile() function. |
| firebase::auth::UserInfoInterface | Interface implemented by each identity provider. |
| firebase::auth::YahooAuthProvider | Use an access token provided by Yahoo to authenticate. |
Structs | |
|---|---|
| firebase::auth::AdditionalUserInfo | Additional user data returned from an identity provider. |
| firebase::auth::AuthResult | The result of operations that can affect authentication state. |
| firebase::auth::FederatedOAuthProviderData | Contains information to identify an OAuth povider. |
| firebase::auth::FederatedProviderData | Contains information required to authenticate with a third party provider. |
| firebase::auth::PhoneAuthOptions | Options object for configuring phone validation flows inPhoneAuthProvider. |
| firebase::auth::UserMetadata | Metadata corresponding to a Firebase user. |
firebase:: database
Classes | |
|---|---|
| firebase::database::ChildListener | Child listener interface. |
| firebase::database::Database | Entry point for the Firebase RealtimeDatabase C++ SDK. |
| firebase::database::DatabaseReference | DatabaseReference represents a particular location in yourDatabase and can be used for reading or writing data to thatDatabase location. |
| firebase::database::DataSnapshot | ADataSnapshot instance contains data from a FirebaseDatabase location. |
| firebase::database::DisconnectionHandler | Allows you to register server-side actions to occur when the client disconnects. |
| firebase::database::MutableData | Instances of this class encapsulate the data and priority at a location. |
| firebase::database::Query | TheQuery class is used for reading data. |
| firebase::database::ValueListener | Value listener interface. |
firebase:: firestore
Classes | |
|---|---|
| firebase::firestore::AggregateQuery | A query that calculates aggregations over an underlying query. |
| firebase::firestore::AggregateQuerySnapshot | The results of executing anAggregateQuery. |
| firebase::firestore::CollectionReference | ACollectionReference can be used for adding documents, getting document references, and querying for documents (using the methods inherited fromQuery). |
| firebase::firestore::DocumentChange | ADocumentChange represents a change to the documents matching a query. |
| firebase::firestore::DocumentReference | ADocumentReference refers to a document location in aFirestore database and can be used to write, read, or listen to the location. |
| firebase::firestore::DocumentSnapshot | ADocumentSnapshot contains data read from a document in yourFirestore database. |
| firebase::firestore::FieldPath | AFieldPath refers to a field in a document. |
| firebase::firestore::FieldValue | A field value represents variant datatypes as stored byFirestore. |
| firebase::firestore::Filter | AFilter represents a restriction on one or more field values and can be used to refine the results of aQuery. |
| firebase::firestore::Firestore | Entry point for the FirebaseFirestore C++ SDK. |
| firebase::firestore::GeoPoint | An immutable object representing a geographical point inFirestore. |
| firebase::firestore::ListenerRegistration | Represents a listener that can be removed by callingRemove(). |
| firebase::firestore::LoadBundleTaskProgress | Represents a progress update or the final state from loading bundles. |
| firebase::firestore::Query | AQuery which you can read or listen to. |
| firebase::firestore::QuerySnapshot | AQuerySnapshot contains zero or moreDocumentSnapshot objects. |
| firebase::firestore::SetOptions | An options object that configures the behavior of Set() calls. |
| firebase::firestore::Settings | Settings used to configure aFirestore instance. |
| firebase::firestore::SnapshotMetadata | Metadata about a snapshot, describing the state of the snapshot. |
| firebase::firestore::Transaction | Transaction provides methods to read and write data within a transaction. |
| firebase::firestore::TransactionOptions | Options to customize transaction behavior forFirestore.runTransaction(). |
| firebase::firestore::WriteBatch | A write batch is used to perform multiple writes as a single atomic unit. |
firebase:: functions
Classes | |
|---|---|
| firebase::functions::Functions | Entry point for the Firebase C++ SDK for CloudFunctions. |
| firebase::functions::HttpsCallableReference | Represents a reference to a CloudFunctions object. |
| firebase::functions::HttpsCallableResult | AnHttpsCallableResult contains the result of calling an HttpsCallable. |
firebase:: installations
Classes | |
|---|---|
| firebase::installations::Installations | Installations provides a unique identifier for each app instance and a mechanism to authenticate and authorize actions (for example, sending an FCM message). |
firebase:: messaging
Classes | |
|---|---|
| firebase::messaging::Listener | Base class used to receive messages from Firebase Cloud Messaging. |
| firebase::messaging::PollableListener | A listener that can be polled to consume pendingMessages. |
Structs | |
|---|---|
| firebase::messaging::AndroidNotificationParams | Data structure for parameters that are unique to the Android implementation. |
| firebase::messaging::Message | Data structure used to receive messages from cloud messaging. |
| firebase::messaging::MessagingOptions | A class to configure the behavior of Firebase Cloud Messaging. |
| firebase::messaging::Notification | Used for messages that display a notification. |
firebase:: remote_config
Classes | |
|---|---|
| firebase::remote_config::ConfigUpdateListenerRegistration | Calling Remove stops the listener from receiving config updates and unregisters itself. |
| firebase::remote_config::RemoteConfig | Entry point for the Firebase C++ SDK for Remote Config. |
Structs | |
|---|---|
| firebase::remote_config::ConfigInfo | Describes the state of the most recent Fetch() call. |
| firebase::remote_config::ConfigKeyValue | Describes a mapping of a key to a string value. |
| firebase::remote_config::ConfigKeyValueVariant | Describes a mapping of a key to a value of any type. |
| firebase::remote_config::ConfigSettings | Configurations for Remote Config behavior. |
| firebase::remote_config::ConfigUpdate | Information about the updated config. |
| firebase::remote_config::ValueInfo | Describes a retrieved value. |
firebase:: storage
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 CloudStorage. |
| firebase::storage::StorageReference | Represents a reference to a CloudStorage object. |
firebase:: ump
Classes | |
|---|---|
| firebase::ump::ConsentInfo | Consent Information class for the User Messaging Platform SDK. |
Structs | |
|---|---|
| firebase::ump::ConsentDebugSettings | Debug settings forConsentInfo::RequestConsentInfoUpdate(). |
| firebase::ump::ConsentRequestParameters | Parameters for theConsentInfo::RequestConsentInfoUpdate() operation. |
std
Structs | |
|---|---|
| std::hash< firebase::firestore::FieldPath > | A convenient specialization of std::hash for FieldPath. |
Additional Resources
Modules | |
|---|---|
| Analytics Events | Predefined event names. |
| Analytics Parameters | Predefined event parameter names. |
| Analytics User Properties | Predefined user property names. |
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.