当前位置: 首页>>代码示例>>Java>>正文


Java MobiSageAdProductPlacement类代码示例

本文整理汇总了Java中com.mobisage.android.MobiSageAdProductPlacement的典型用法代码示例。如果您正苦于以下问题:Java MobiSageAdProductPlacement类的具体用法?Java MobiSageAdProductPlacement怎么用?Java MobiSageAdProductPlacement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MobiSageAdProductPlacement类属于com.mobisage.android包,在下文中一共展示了MobiSageAdProductPlacement类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onMobiSageProductPlacementShow

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementShow(
		MobiSageAdProductPlacement arg0) {
	mActivity.runOnUiThread(new Runnable() {

		@Override
		public void run() {
			if (mIsStartToShow && mediaPlayerDelegate != null
					&& mAdType == AdVender.ADSAGE) {
				setVisible(true);
				setVisibility(View.VISIBLE);
				mActivity.isImageADShowing = true;
				isGetFeedBack = true;
				Track.onImageAdStart();
			} else {
				disposeAdLoss(URLContainer.AD_LOSS_STEP3);
			}
		}
	});

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:22,代码来源:PluginImageAD.java

示例2: startMobisageAd

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
private void startMobisageAd() {
	setAdType(AdVender.ADSAGE);
	removeAllAd();
	if (!PluginImageAD.isMobiSageSDKInit) {
		MobiSageManager.getInstance().setPublisherID(mActivity,
				AdVender.MobiSage_ID);
		PluginImageAD.isMobiSageSDKInit = true;
	}
	DisplayMetrics displayMetrics = new DisplayMetrics();
	mActivity.getWindowManager().getDefaultDisplay()
			.getMetrics(displayMetrics);
	mMobisageAd = new MobiSageAdProductPlacement(mActivity, true);

	if (mMobisageListener == null) {
		mMobisageListener = new AdMobisageListener();
	}
	mMobisageAd.setMobiSageAdProductPlacementListener(mMobisageListener);
	if (mParams == null) {
		mParams = new LayoutParams((int) displayMetrics.density * 300,
				(int) displayMetrics.density * 250);

	}
	mMobisageContainer.addView(mMobisageAd, mParams);
	AdvInfo advInfo = getAdvInfo();
	DisposableStatsUtils.disposePausedSUS(advInfo);
}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:27,代码来源:PluginFullScreenPauseAD.java

示例3: onMobiSageProductPlacementShow

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementShow(
		MobiSageAdProductPlacement arg0) {
	mActivity.runOnUiThread(new Runnable() {

		@Override
		public void run() {
			if (mediaPlayerDelegate != null
					&& mediaPlayerDelegate.isFullScreen
					&& mAdType == AdVender.ADSAGE && !pauseADcanceled) {
				setVisible(true);
				setVisibility(View.VISIBLE);
			} else {
				disposeAdLoss(URLContainer.AD_LOSS_STEP3);
			}
		}
	});

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:20,代码来源:PluginFullScreenPauseAD.java

示例4: onMobiSageProductPlacementClose

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementClose(
		MobiSageAdProductPlacement arg0) {
	if (mActivity.isImageADShowing) {
		mActivity.isImageADShowing = false;
		mIsStartToShow = false;
		isGetFeedBack = true;
		Track.onImageAdEnd();
		if (mediaPlayerDelegate != null) {
			mediaPlayerDelegate.startPlayAfterImageAD();
		}
	}

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:15,代码来源:PluginImageAD.java

示例5: onMobiSageProductPlacementError

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementError(
		MobiSageAdProductPlacement arg0) {
	mActivity.isImageADShowing = false;
	mIsStartToShow = false;
	isGetFeedBack = true;
	disposeAdLoss(URLContainer.AD_LOSS_STEP4);
	if (mediaPlayerDelegate != null) {
		mediaPlayerDelegate.startPlayAfterImageAD();
	}
}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:12,代码来源:PluginImageAD.java

示例6: onMobiSageProductPlacementClick

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementClick(
		MobiSageAdProductPlacement arg0) {
	// TODO Auto-generated method stub

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:7,代码来源:PluginImageAD.java

示例7: onMobiSageProductPlacementHide

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementHide(
		MobiSageAdProductPlacement arg0) {
	// TODO Auto-generated method stub

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:7,代码来源:PluginImageAD.java

示例8: onMobiSageProductPlacementHideWindow

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementHideWindow(
		MobiSageAdProductPlacement arg0) {
	// TODO Auto-generated method stub

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:7,代码来源:PluginImageAD.java

示例9: onMobiSageProductPlacementPopupWindow

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementPopupWindow(
		MobiSageAdProductPlacement arg0) {
	// TODO Auto-generated method stub

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:7,代码来源:PluginImageAD.java

示例10: onMobiSageProductPlacementClose

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementClose(
		MobiSageAdProductPlacement arg0) {
	// TODO Auto-generated method stub

}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:7,代码来源:PluginFullScreenPauseAD.java

示例11: onMobiSageProductPlacementError

import com.mobisage.android.MobiSageAdProductPlacement; //导入依赖的package包/类
@Override
public void onMobiSageProductPlacementError(
		MobiSageAdProductPlacement arg0) {
	disposeAdLoss(URLContainer.AD_LOSS_STEP4);
}
 
开发者ID:Dreamer206602,项目名称:SimplifyReader2,代码行数:6,代码来源:PluginFullScreenPauseAD.java


注:本文中的com.mobisage.android.MobiSageAdProductPlacement类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。