Stay organized with collections
Save and categorize content based on your preferences.
firebase::app_check::AppCheckListener
This is an abstract class.
#include <app_check.h>
Base class used to receive messages when AppCheck token changes.
Summary
Public functions
OnAppCheckTokenChanged
virtual void OnAppCheckTokenChanged(
const AppCheckToken & token
)=0
This method gets invoked on the UI thread on changes to the token state.
Does not trigger on token expiry.
~AppCheckListener
virtual ~AppCheckListener()=0
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."],[],[],null,["# firebase::app_check::AppCheckListener Class Reference\n\nfirebase::app_check::AppCheckListener\n=====================================\n\n\n**This is an abstract class.**\n\n\n`#include \u003capp_check.h\u003e`\n\nBase class used to receive messages when [AppCheck](/docs/reference/cpp/class/firebase/app-check/app-check#classfirebase_1_1app__check_1_1_app_check) token changes.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [~AppCheckListener](#classfirebase_1_1app__check_1_1_app_check_listener_1a82bb760dcc9be35267062ed607fa7570)`()` ||\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [OnAppCheckTokenChanged](#classfirebase_1_1app__check_1_1_app_check_listener_1a9d0e527da64f1cf418559bee0b20622e)`(const `[AppCheckToken](/docs/reference/cpp/struct/firebase/app-check/app-check-token#structfirebase_1_1app__check_1_1_app_check_token)` & token)=0` | `virtual void` This method gets invoked on the UI thread on changes to the token state. |\n\nPublic functions\n----------------\n\n### OnAppCheckTokenChanged\n\n```c++\nvirtual void OnAppCheckTokenChanged(\n const AppCheckToken & token\n)=0\n``` \nThis method gets invoked on the UI thread on changes to the token state.\n\nDoes not trigger on token expiry. \n\n### \\~AppCheckListener\n\n```c++\nvirtual ~AppCheckListener()=0\n```"]]