Package com.my.target.nativeads
Interface NativeAd.NativeAdChoicesOptionListener
- Enclosing class:
- NativeAd
public static interface NativeAd.NativeAdChoicesOptionListener
-
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 ofINativeAdwhich was closed automatically.
-
closeIfAutomaticallyDisabled
Calls ifshouldCloseAutomatically()returned false.- Parameters:
ad- Instance ofNativeAdwhich have to be hidden.
-