Package com.my.target.nativeads
Interface NativeAd.NativeAdChoicesOptionListener
-
- All Implemented Interfaces:
public interface NativeAd.NativeAdChoicesOptionListener
-
-
Method Summary
Modifier and Type Method Description abstract voidcloseIfAutomaticallyDisabled(@NonNull() NativeAd ad)Calls if shouldCloseAutomatically returned false. abstract voidonCloseAutomatically(@NonNull() NativeAd 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() NativeAd ad)
Calls if shouldCloseAutomatically returned false.
- Parameters:
ad- Instance of NativeAd which have to be hidden.
-
onCloseAutomatically
abstract void onCloseAutomatically(@NonNull() NativeAd ad)
Calls if shouldCloseAutomatically returned true.
- Parameters:
ad- Instance of INativeAd 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.
-
-
-
-