| | |
| | | AdSlot adSlot = new AdSlot.Builder() |
| | | .setCodeId("945393854") |
| | | .setSupportDeepLink(true) |
| | | .setExpressViewAcceptedSize(w,h) |
| | | .setExpressViewAcceptedSize(w, h) |
| | | .setOrientation(TTAdConstant.VERTICAL) |
| | | .build(); |
| | | TTAdManager ttAdManager = TTAdManagerHolder.get(); |
| | |
| | | }); |
| | | |
| | | if (ad != null && adListener != null) |
| | | adListener.onSuccess(); |
| | | adListener.onSuccess(ad); |
| | | } |
| | | |
| | | @Override |
| | |
| | | return mttFullVideoAd != null; |
| | | } |
| | | |
| | | interface IFullVideoAdListener { |
| | | public void onSuccess(); |
| | | public interface IFullVideoAdListener { |
| | | public void onSuccess(TTFullScreenVideoAd ad); |
| | | } |
| | | |
| | | } |