hasAdForPlacement

Overview

Returns true if there is an ad loaded for given placementId.

Syntax

hasAdForPlacement(placementName, callback)

placementName (REQUIRED)

string Unique name of placement. The same name will be used in addapptr.com account.

callback (REQUIRED)

Callback<Boolean> Used to provide the function call result to JavaScript.

Parameters:

  • Boolean - True if there is an ad loaded for given placementId.

Examples

RNAatkit.hasAdForPlacement("BannerPlacement", (hasAd) => {
                console.log("hasAd " + hasAd);
            });

Last updated