AbstractAdListener
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

AbstractAdListener implements AdListener, InterstitialAdListener and ImpressionListener. The default implementation is to do nothing.

Instead of implementing all methods in those interfaces, client only overrides the methods handling desired events.

ขยาย:Object
การนำไปใช้:AdListener
แพ็คเกจ:ads
ผู้สร้าง
AbstractAdListener()
public AbstractAdListener()
วิธีการแบบอินสแตนซ์
onError(Ad, AdError)

Called when an error happened while the ad control is attempting to load an ad.

public void onError(Ad ad, AdError error)
พารามิเตอร์คำอธิบาย
adThe ad control
errorThe error
onError(Ad, AdError)

Called when an error happened while the ad control is attempting to load an ad.

public void onError(Ad ad, AdError error)
พารามิเตอร์คำอธิบาย
adThe ad control
errorThe error
onAdLoaded(Ad)

Called when the ad control has loaded an ad.

public void onAdLoaded(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onAdLoaded(Ad)

Called when the ad control has loaded an ad.

public void onAdLoaded(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onAdClicked(Ad)

Called when the ad control is clicked and user is redirected to the link in the ad.

public void onAdClicked(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onAdClicked(Ad)

Called when the ad control is clicked and user is redirected to the link in the ad.

public void onAdClicked(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onInterstitialDisplayed(Ad)

Called when the interstitial ad control is displayed.

public void onInterstitialDisplayed(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onInterstitialDisplayed(Ad)

Called when the interstitial ad control is displayed.

public void onInterstitialDisplayed(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onInterstitialDismissed(Ad)

Called when the interstitial ad control is dismissed.

public void onInterstitialDismissed(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onInterstitialDismissed(Ad)

Called when the interstitial ad control is dismissed.

public void onInterstitialDismissed(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onLoggingImpression(Ad)

Called immediately before an impression is logged.

public void onLoggingImpression(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control
onLoggingImpression(Ad)

Called immediately before an impression is logged.

public void onLoggingImpression(Ad ad)
พารามิเตอร์คำอธิบาย
adThe ad control