Android Open Source - snappyfrog G A D Interstitial Delegate






From Project

Back to project page snappyfrog.

License

The source code is released under:

Apache License

If you think the Android project snappyfrog listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.robovm.bindings.admob;
/* w ww  .  j  av a 2 s  .com*/
import org.robovm.apple.foundation.NSObjectProtocol;
import org.robovm.objc.annotation.Method;

/** Delegate for receiving state change messages from a GADInterstitial such as interstitial ad requests succeeding/failing. */
interface GADInterstitialDelegate extends NSObjectProtocol {
  /** Sent when an interstitial ad request succeeded. Show it at the next transition point in your application such as when
   * transitioning between view controllers. */
  @Method(selector = "interstitialDidReceiveAd:")
  void didReceiveAd (GADInterstitial ad);

  /** Sent when an interstitial ad request completed without an interstitial to show. This is common since interstitials are shown
   * sparingly to users. */
  @Method(selector = "interstitial:didFailToReceiveAdWithError:")
  void didFailToReceiveAd (GADInterstitial ad, GADRequestError error);

  /** Sent just before presenting an interstitial. After this method finishes the interstitial will animate onto the screen. Use
   * this opportunity to stop animations and save the state of your application in case the user leaves while the interstitial is
   * on screen (e.g. to visit the App Store from a link on the interstitial). */
  @Method(selector = "interstitialWillPresentScreen:")
  void willPresentScreen (GADInterstitial ad);

  /** Sent before the interstitial is to be animated off the screen. */
  @Method(selector = "interstitialWillDismissScreen:")
  void willDismissScreen (GADInterstitial ad);

  /** Sent just after dismissing an interstitial and it has animated off the screen. */
  @Method(selector = "interstitialDidDismissScreen:")
  void didDismissScreen (GADInterstitial ad);

  /** Sent just before the application will background or terminate because the user clicked on an ad that will launch another
   * application (such as the App Store). The normal UIApplicationDelegate methods, like applicationDidEnterBackground:, will be
   * called immediately before this. */
  @Method(selector = "interstitialWillLeaveApplication:")
  void willLeaveApplication (GADInterstitial ad);
}




Java Source Code List

com.masseranolabs.bridge.SLComposeViewController.java
com.masseranolabs.snappyfrog.AndroidServices.java
com.masseranolabs.snappyfrog.ButtonFactory.java
com.masseranolabs.snappyfrog.DesktopServices.java
com.masseranolabs.snappyfrog.Explosion.java
com.masseranolabs.snappyfrog.Frog.java
com.masseranolabs.snappyfrog.Game.java
com.masseranolabs.snappyfrog.LaserBeam.java
com.masseranolabs.snappyfrog.LevelScreen.java
com.masseranolabs.snappyfrog.MainActivity.java
com.masseranolabs.snappyfrog.MainActivity.java
com.masseranolabs.snappyfrog.Main.java
com.masseranolabs.snappyfrog.Obstacle.java
com.masseranolabs.snappyfrog.OuyaServices.java
com.masseranolabs.snappyfrog.PlatformServices.java
com.masseranolabs.snappyfrog.PowerBar.java
com.masseranolabs.snappyfrog.ResHelper.java
com.masseranolabs.snappyfrog.RobovmLauncher.java
com.masseranolabs.snappyfrog.Salary.java
com.masseranolabs.snappyfrog.ScreenshotFactory.java
com.masseranolabs.snappyfrog.StagedScreen.java
com.masseranolabs.snappyfrog.client.GwtLauncher.java
com.masseranolabs.snappyfrog.client.HtmlServices.java
com.masseranolabs.snappyfrog.iOSServices.java
org.robovm.bindings.admob.GADAdMobExtras.java
org.robovm.bindings.admob.GADAdNetworkExtras.java
org.robovm.bindings.admob.GADAdSizeManager.java
org.robovm.bindings.admob.GADAdSize.java
org.robovm.bindings.admob.GADBannerViewDelegateAdapter.java
org.robovm.bindings.admob.GADBannerViewDelegate.java
org.robovm.bindings.admob.GADBannerView.java
org.robovm.bindings.admob.GADErrorCode.java
org.robovm.bindings.admob.GADGender.java
org.robovm.bindings.admob.GADInterstitialDelegateAdapter.java
org.robovm.bindings.admob.GADInterstitialDelegate.java
org.robovm.bindings.admob.GADInterstitial.java
org.robovm.bindings.admob.GADRequestErrorConstants.java
org.robovm.bindings.admob.GADRequestError.java
org.robovm.bindings.admob.GADRequest.java
org.robovm.bindings.admob.mediation.GADCustomEventInterstitialAdapter.java
org.robovm.bindings.admob.mediation.GADCustomEventInterstitialDelegateAdapter.java
org.robovm.bindings.admob.mediation.GADCustomEventInterstitialDelegate.java
org.robovm.bindings.admob.mediation.GADCustomEventInterstitial.java
org.robovm.bindings.admob.mediation.GADCustomEventRequest.java
org.robovm.bindings.admob.sample.Sample.java