Package com.my.target.nativeads
Interface NativeBannerAd.NativeBannerAdChoicesOptionListener
- Enclosing class:
- NativeBannerAd
public static interface NativeBannerAd.NativeBannerAdChoicesOptionListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalls ifshouldCloseAutomatically()returned false.voidCalls ifshouldCloseAutomatically()returned true.booleanDetermines what SDK should do when selecting particular adchoices option.
-
Method Details
-
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
Calls ifshouldCloseAutomatically()returned true.- Parameters:
ad- Instance ofNativeBannerAdwhich was closed automatically.
-
closeIfAutomaticallyDisabled
Calls ifshouldCloseAutomatically()returned false.- Parameters:
ad- Instance ofNativeBannerAdwhich have to be hidden.
-