SetReAddingPlacementOnResumeEnabled

Overview

By default, the plugin removes the banner ad when the app is paused and re-adds when app is being resumed. This behavior is designed to prevent the banner from being obscured by the Unity Player View. To disable this feature, invoke this method with a false value.

Note: Works only on Android platform.

Syntax

void SetReAddingPlacementOnResumeEnabled(enabled)

enabled (REQUIRED)

Bool True if plugin should re-add banner when resuming the app, false otherwise.

returns void

Examples

SetReAddingPlacementOnResumeEnabled(false);

Last updated