Stay organized with collections
Save and categorize content based on your preferences.
firebase::
Future
#include <gma.h>
The Google Mobile Ads C++ SDK uses this class to return results from asynchronous operations.
Summary
All C++ functions and method calls that operate asynchronously return a Future
, and provide a "LastResult" function to retrieve the most recent Future
result.
The Google Mobile Ads C++ SDK uses this class from the Firebase C++ SDK to return results from asynchronous operations. For more information, see the Firebase C++ SDK documentation
.
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 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThe \u003ccode\u003efirebase::Future\u003c/code\u003e class is used by the Google Mobile Ads C++ SDK to handle results from operations that don't complete immediately.\u003c/p\u003e\n"],["\u003cp\u003eAll asynchronous functions and methods in the SDK return a \u003ccode\u003eFuture\u003c/code\u003e object, allowing developers to retrieve results later using the "LastResult" function.\u003c/p\u003e\n"],["\u003cp\u003eThis class is borrowed from the Firebase C++ SDK to ensure consistent asynchronous operation handling across Google services.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can refer to the Firebase C++ SDK documentation for more in-depth information on how \u003ccode\u003efirebase::Future\u003c/code\u003e works and its functionalities.\u003c/p\u003e\n"]]],["The Google Mobile Ads C++ SDK utilizes the `Future` class to handle results from asynchronous operations. All asynchronous functions return a `Future`, with a \"LastResult\" function for retrieving the latest result. This class, part of the Firebase C++ SDK, is employed by the Mobile Ads SDK to manage the outcomes of these operations. For further information, refer to the Firebase C++ SDK documentation.\n"],null,["# firebase::Future Class Reference\n\nfirebase::Future\n================\n\n\n`#include \u003cgma.h\u003e`\n\nThe Google Mobile Ads C++ SDK uses this class to return results from asynchronous operations.\n\nSummary\n-------\n\nAll C++ functions and method calls that operate asynchronously return a `Future`, and provide a \"LastResult\" function to retrieve the most recent `Future` result.\n\nThe Google Mobile Ads C++ SDK uses this class from the Firebase C++ SDK to return results from asynchronous operations. For more information, see the [Firebase C++ SDK documentation](https://firebase.google.com/docs/reference/cpp/class/firebase/future)."]]