Skip to main content
  • Google AdMob
  • Mobile Ads SDK (Unity)
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
Guides Reference Download Samples Support
  • Google AdMob
  • Mobile Ads SDK (Unity)
  • Guides
  • Reference
  • Download
  • Samples
  • Support
  • Google Mobile Ads SDK
  • GoogleMobileAds.Api
    • Overview
    • Classes
      • AdapterResponseInfo
      • AdapterStatus
      • AdError
      • AdInspectorError
      • AdRequest
      • AdSize
      • AdValue
      • ApplicationPreferences
      • AppOpenAd
      • AppStateEventNotifier
      • BannerView
      • InitializationStatus
      • InterstitialAd
      • LoadAdError
      • MaxAdContentRating
      • MobileAds
      • MobileAds.Utils
      • NativeAdOptions
      • NativeOverlayAd
      • NativeTemplateId
      • NativeTemplateStyle
      • NativeTemplateTextStyle
      • PreloadConfiguration
      • RequestConfiguration
      • ResponseInfo
      • Reward
      • RewardedAd
      • RewardedInterstitialAd
      • ServerSideVerificationOptions
      • VideoOptions
  • GoogleMobileAds.Api.AdManager
    • Overview
    • Classes
      • AdManagerAdRequest
      • AdManagerBannerView
      • AdManagerInterstitialAd
      • AppEvent
  • GoogleMobileAds.Api.Mediation
    • Overview
    • Classes
      • MediationExtras
  • GoogleMobileAds.Ump.Api
    • Overview
    • Classes
      • ConsentDebugSettings
      • ConsentForm
      • ConsentInformation
      • ConsentRequestParameters
      • FormError
  • Namespaces
    • GoogleMobileAds
    • GoogleMobileAds.Ump
  • Related Pages
    • Deprecated List
  • Home
  • Products
  • AdMob
  • Mobile Ads SDK (Unity)
  • Reference

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-01-18 UTC.

  • Programs

    • Google Developer Groups
    • Google Developer Experts
    • Accelerators
    • Women Techmakers
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어