Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.AppStateEventNotifier
Notifies changes in app foreground/background.
Summary
Subscribe to AppStateEventNotifier.AppStateChanged to get notified of changes in AppState.
Properties
|
AppStateChanged
|
static Action< AppState >
Raised when the app enters the background/foreground.
|
Properties
AppStateChanged
static Action< AppState > AppStateChanged
Raised when the app enters the background/foreground.
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 2023-05-22 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 2023-05-22 UTC."],[[["The `GoogleMobileAds.Api.AppStateEventNotifier` provides notifications about changes in the application's state, such as moving between the foreground and background."],["Developers can subscribe to the `AppStateEventNotifier.AppStateChanged` event to receive notifications whenever the app's state changes."],["The `AppStateChanged` event is triggered and provides the current `AppState` (foreground or background) when the app transitions between these states."]]],[]]