isNetworkEnabled
Overview
Returns true if ad network is enabled, false otherwise.
Syntax
isNetworkEnabled(network, callback)
network (REQUIRED)
int . Ad network. See network constants here.
callback (REQUIRED)
Callback<Boolean>. Used to provide the function call result to JavaScript.
Parameters:
Boolean - True if ad network is enabled, false otherwise.
Examples
RNAatkit.isNetworkEnabled(RNAatkit.AdNetwork_MILLENNIAL, (networkEnabled) => {
console.log("networkEnabled" + networkEnabled);
});
Last updated