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