私はアンドロイドの初心者で、広告を入れたいと思っています。charboost のインタースティシャルが読み込まれているかどうかを確認する方法を知りたかったのです。大丈夫ですか?:
Chartboost.cacheInterstitial(CBLocation.LOCATION_DEFAULT);
if(Chartboost.hasInterstitial(CBLocation.LOCATION_DEFAULT)){
//displayInterstitial();
Chartboost.showInterstitial(CBLocation.LOCATION_DEFAULT);
}else{
displayInterstitial();
}
私はそれがうまくいくと思うが、台無しにしたくない