AdListener
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

AdListener interface is notified of events in ad control lifecycle.

Gói:ads
Phương thức thực thể
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)
Thông sốMô tả
adThe ad control
errorThe error
onAdLoaded(Ad)

Called when the ad control has loaded an ad.

public void onAdLoaded(Ad ad)
Thông sốMô tả
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)
Thông sốMô tả
adThe ad control