Back to project page snakk-ads-android-sample-app.
The source code is released under:
Copyright (c) 2012, Snakk! Media Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
If you think the Android project snakk-ads-android-sample-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.snakk.adview; // ww w . j a v a2s . c om import android.content.Context; import android.view.View; public class DeprecatedInterstitialBaseView extends AdInterstitialBaseView { public DeprecatedInterstitialBaseView(Context ctx, String zone) { super(ctx, zone); } public void load() { if(interstitialListener != null) { interstitialListener.error(this, this.getClass() + " is deprecated."); } } @Override public void end(AdViewCore adView) { // noop } @Override public void didResize(AdViewCore adView) { // noop } @Override public void showInterstitial() { if(interstitialListener != null) { interstitialListener.error(this, this.getClass() + " is deprecated."); } } @Override public void playVideo(final String url, final String clickUrl, boolean audioMuted, boolean autoPlay, boolean controls, boolean loop, Dimensions d, String startStyle, String stopStyle) { // noop } public void interstitialShowing() { // noop } @Override public void interstitialClosing() { // noop } @Override protected void interstitialClose() { // noop } @Override public View getInterstitialView(Context ctx) { // noop return new View(ctx); }}