getInFeedBannerComponentsCount
Overview
Gets the amount of in-feed banner components attached to the UI.
Syntax
getInFeedBannerComponentsCount(placementName, callback)
placementName (REQUIRED)
string. Name of the in-feed banner placement.
callback(REQUIRED)
Callback<Int>. Used to provide the function call result to JavaScript.
Parameters:
Int- the amount of in-feed banner components attached to the UI.
Examples
RNAatkit.getInFeedBannerComponentsCount("InFeed", (count) => {
console.log("amount of in-feed banners " + count);
});
Last updated