Android Open Source - snappyfrog G A D Custom Event 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.mediation;
/*from ww  w .j ava2s.  c o m*/
import org.robovm.apple.foundation.NSError;
import org.robovm.apple.foundation.NSObject;
import org.robovm.apple.foundation.NSObjectProtocol;
import org.robovm.objc.annotation.Method;

/** Call back to this delegate in your custom event. You must call customEventInterstitial:didReceiveAd: when there is an ad to
 * show, or customEventInterstitial:didFailAd: when there is no ad to show. Otherwise, if enough time passed (several seconds)
 * after the SDK called the requestInterstitialAdWithParameter: method of your custom event, the mediation SDK will consider the
 * request timed out, and move on to the next ad network. */
public interface GADCustomEventInterstitialDelegate extends NSObjectProtocol {
  /** Your Custom Event object must call this when it receives or creates an interstitial ad. If there is an ad object, pass it in
   * the method call. Pass nil if the ad object is not available.
   * @param customEvent
   * @param ad */
  @Method(selector = "customEventInterstitial:didReceiveAd:")
  void didReceiveAd (GADCustomEventInterstitial customEvent, NSObject ad);

  /** Your Custom Event object must call this when it fails to receive or create the ad. Pass along any error object sent from the
   * ad network's SDK, or an NSError describing the error. Pass nil if not available.
   * @param customEvent
   * @param error */
  @Method(selector = "customEventInterstitial:didFailAd:")
  void didFailAd (GADCustomEventInterstitial customEvent, NSError error);

  /** Your Custom Event should call this when the interstitial is being displayed.
   * @param customEvent */
  @Method(selector = "customEventInterstitialWillPresent:")
  void willPresent (GADCustomEventInterstitial customEvent);

  /** Your Custom Event should call this when the interstitial is about to be dismissed.
   * @param customEvent */
  @Method(selector = "customEventInterstitialWillDismiss:")
  void willDismiss (GADCustomEventInterstitial customEvent);

  /** Your Custom Event should call this when the interstitial has been dismissed.
   * @param customEvent */
  @Method(selector = "customEventInterstitialDidDismiss:")
  void didDismiss (GADCustomEventInterstitial customEvent);

  /** Your Custom Event should call this method when a user action will result in App switching.
   * @param customEvent */
  @Method(selector = "customEventInterstitialWillLeaveApplication:")
  void willLeaveApplication (GADCustomEventInterstitial customEvent);
}




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