类 TPNotification
java.lang.Object
com.tradplus.ads.mgr.TPNotification
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidsendLosNotification(String adUnitId, double price, String adSourcePlacementId) 发送 los 通知(旧方法,保留兼容性)static voidsendWinOrDisplayNotification(String adUnitId, double winPrice, double secondPrice, String adSourcePlacementId)
-
构造器详细资料
-
TPNotification
public TPNotification()
-
-
方法详细资料
-
sendWinOrDisplayNotification
public static void sendWinOrDisplayNotification(String adUnitId, double winPrice, double secondPrice, String adSourcePlacementId) - 参数:
adUnitId- 需要开启win/loss的广告位Id (必填)winPrice- 胜出价格,必须大于0(必填)secondPrice- 二价格(可选)adSourcePlacementId- 广告源id,tpadinfo里返回的adSourcePlacementId(必填)
-
sendLosNotification
发送 los 通知(旧方法,保留兼容性)- 参数:
adUnitId- 广告位IDprice- 价格adSourcePlacementId- 广告源ID
-