Android Open Source - snappyfrog G A D Banner View 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 .ja va2s  .  c o  m
import org.robovm.apple.foundation.NSObjectProtocol;
import org.robovm.objc.annotation.Method;

/** Delegate for receiving state change messages from a GADBannerView such as ad requests succeeding/failing or when an ad has been
 * clicked. */
interface GADBannerViewDelegate extends NSObjectProtocol {
  /** Sent when an ad request loaded an ad. This is a good opportunity to add this view to the hierarchy if it has not yet been
   * added. If the ad was received as a part of the server-side auto refreshing, you can examine the hasAutoRefreshed property of
   * the view.
   * @param view */
  @Method(selector = "adViewDidReceiveAd:")
  void didReceiveAd (GADBannerView view);

  /** Sent when an ad request failed. Normally this is because no network connection was available or no ads were available (i.e.
   * no fill). If the error was received as a part of the server-side auto refreshing, you can examine the hasAutoRefreshed
   * property of the view.
   * @param error */
  @Method(selector = "adView:didFailToReceiveAdWithError:")
  void didFailToReceiveAd (GADBannerView view, GADRequestError error);

  /** Sent just before presenting the user a full screen view, such as a browser, in response to clicking on an ad. Use this
   * opportunity to stop animations, time sensitive interactions, etc.
   * 
   * Normally the user looks at the ad, dismisses it, and control returns to your application by calling adViewDidDismissScreen:.
   * However if the user hits the Home button or clicks on an App Store link your application will end. On iOS 4.0+ the next
   * method called will be applicationWillResignActive: of your UIViewController (UIApplicationWillResignActiveNotification).
   * Immediately after that adViewWillLeaveApplication: is called.
   * @param view */
  @Method(selector = "adViewWillPresentScreen:")
  void willPresentScreen (GADBannerView view);

  /** Sent just before dismissing a full screen view.
   * @param view */
  @Method(selector = "adViewWillDismissScreen:")
  void willDismissScreen (GADBannerView view);

  /** Sent just after dismissing a full screen view. Use this opportunity to restart anything you may have stopped as part of
   * adViewWillPresentScreen:.
   * @param view */
  @Method(selector = "adViewDidDismissScreen:")
  void didDismissScreen (GADBannerView view);

  /** 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.
   * @param view */
  @Method(selector = "adViewWillLeaveApplication:")
  void willLeaveApplication (GADBannerView view);
}




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