Stay organized with collections
Save and categorize content based on your preferences.
firebase::
gma::
AdapterStatus
#include <types.h>
A snapshot of a mediation adapter's initialization status.
Summary
Constructors and Destructors
const std::string &
Detailed description of the status.
bool
Returns the adapter's initialization state.
int
The adapter's initialization latency in milliseconds.
Public functions
AdapterStatus
AdapterStatus
()
description
const
std
::
string
&
description
()
const
Detailed description of the status.
This method should only be used for informational purposes, such as logging. Use is_initialized
to make logical decisions regarding an adapter's status.
is_initialized
bool
is_initialized
()
const
Returns the adapter's initialization state.
latency
int
latency
()
const
The adapter's initialization latency in milliseconds.
0 if initialization has not yet ended.
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."],[],["The `AdapterStatus` class provides a snapshot of a mediation adapter's initialization. Key information includes the adapter's initialization state, accessible via `is_initialized()`, and the initialization latency in milliseconds, retrieved with `latency()`. A detailed textual description of the status is available through `description()`. The class also has a constructor: `AdapterStatus()`. The latency is 0 if initialization hasn't finished. Only `is_initialized` should be used to take decisions about the adapter.\n"]]