-
public class AdPopcornSSPRewardVideoAd
-
-
Field Summary
Fields Modifier and Type Field Description private StringplacementIdprivate StringplacementAppKeyprivate longnetworkScheduleTimeoutprivate IMediationLogListenermediationLogListener
-
Constructor Summary
Constructors Constructor Description AdPopcornSSPRewardVideoAd(Context context)AdPopcornSSPRewardVideoAd(Context context, String placementAppKey)
-
Method Summary
Modifier and Type Method Description StringgetPlacementId()voidsetPlacementId(String placementId)voidsetPlacementAppKey(String placementAppKey)longgetNetworkScheduleTimeout()voidsetNetworkScheduleTimeout(int timeout)voidsetMediationLogListener(IMediationLogListener mediationLogListener)voidsetRewardVideoAdEventCallbackListener(IRewardVideoAdEventCallbackListener mRewardVideoAdEventCallbackListener)voidsetCurrentActivity(Activity activity)intgetCurrentNetwork()voidonResume()voidonPause()booleanisReady()synchronized voidloadAd()synchronized voidshowAd()synchronized voiddestroy()voidcallRewardVideoAdListenerCompleted(int adNetworkNo, boolean completed)voidcallRewardVideoAdListenerClosed()voidcallRewardVideoAdListenerClicked()-
-
Method Detail
-
getPlacementId
String getPlacementId()
-
setPlacementId
void setPlacementId(String placementId)
-
setPlacementAppKey
void setPlacementAppKey(String placementAppKey)
-
getNetworkScheduleTimeout
long getNetworkScheduleTimeout()
-
setNetworkScheduleTimeout
void setNetworkScheduleTimeout(int timeout)
-
setMediationLogListener
void setMediationLogListener(IMediationLogListener mediationLogListener)
-
setRewardVideoAdEventCallbackListener
void setRewardVideoAdEventCallbackListener(IRewardVideoAdEventCallbackListener mRewardVideoAdEventCallbackListener)
-
setCurrentActivity
void setCurrentActivity(Activity activity)
-
getCurrentNetwork
int getCurrentNetwork()
-
onResume
void onResume()
-
onPause
void onPause()
-
isReady
boolean isReady()
-
loadAd
synchronized void loadAd()
-
showAd
synchronized void showAd()
-
destroy
synchronized void destroy()
-
callRewardVideoAdListenerCompleted
void callRewardVideoAdListenerCompleted(int adNetworkNo, boolean completed)
-
callRewardVideoAdListenerClosed
void callRewardVideoAdListenerClosed()
-
callRewardVideoAdListenerClicked
void callRewardVideoAdListenerClicked()
-
-
-
-