Package com.my.target.nativeads
Interface NativeBannerAd.NativeBannerAdChoicesOptionListener
-
- Enclosing class:
- NativeBannerAd
public static interface NativeBannerAd.NativeBannerAdChoicesOptionListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseIfAutomaticallyDisabled(NativeBannerAd ad)Calls ifshouldCloseAutomatically()returned false.voidonCloseAutomatically(NativeBannerAd ad)Calls ifshouldCloseAutomatically()returned true.booleanshouldCloseAutomatically()Determines what SDK should do when selecting particular adchoices option.
-
-
-
Method Detail
-
shouldCloseAutomatically
boolean shouldCloseAutomatically()
Determines what SDK should do when selecting particular adchoices option.- Returns:
- Boolean value which specifies should be ad closed or not.
-
onCloseAutomatically
void onCloseAutomatically(@NonNull NativeBannerAd ad)Calls ifshouldCloseAutomatically()returned true.- Parameters:
ad- Instance ofNativeBannerAdwhich was closed automatically.
-
closeIfAutomaticallyDisabled
void closeIfAutomaticallyDisabled(@NonNull NativeBannerAd ad)Calls ifshouldCloseAutomatically()returned false.- Parameters:
ad- Instance ofNativeBannerAdwhich have to be hidden.
-
-