isNetworkEnabled

Overview

Returns true if ad network is enabled, false otherwise.

Syntax

isNetworkEnabled(network, callback)

network (REQUIRED)

int Ad network, click here to find supported values.

callback (REQUIRED)

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

Parameters:

  • Boolean - True if ad network is enabled, false otherwise.

Examples

AATKitCordova.isNetworkEnabled("ADMOB", (networkEnabled) => {
                console.log("networkEnabled" + networkEnabled);
            });

Last updated