firebase::gma::AdInspectorClosedListener
This is an abstract class.
#include <types.h>
Listener to be invoked when the Ad Inspector has been closed.
Summary
Public functions
OnAdInspectorClosed
virtual void OnAdInspectorClosed(
const AdResult & ad_result
)=0
Called when the user clicked the ad.
The AdResult contains the status of the operation, including details of the error if one occurred.
~AdInspectorClosedListener
virtual ~AdInspectorClosedListener()
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 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[[["`firebase::gma::AdInspectorClosedListener` is an abstract class that listens for when the Ad Inspector is closed."],["It provides a virtual function `OnAdInspectorClosed` which is called when the Ad Inspector is closed, providing an `AdResult` object containing the operation's status."],["Developers need to implement the `OnAdInspectorClosed` function in their derived classes to handle the Ad Inspector closure event."]]],["The `AdInspectorClosedListener` is an abstract class designed to listen for the closing of the Ad Inspector. Key actions involve implementing the `OnAdInspectorClosed` virtual function. This function is invoked when the Ad Inspector is closed, receiving an `AdResult` object. The `AdResult` indicates the operation's status, including error details. The class also includes a virtual destructor `~AdInspectorClosedListener`. This class's methods are designed to respond to the ad being clicked.\n"]]