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