Method signature

This method is meant for checking if the banner block is shown or hidden with FAPI.UI.showBannerAds or FAPI.UI.hideBannerAds methods.

FAPI.invokeUIMethod("isBannerAdsVisible")

Call example

function isBannerAdsVisible() {
FAPI.invokeUIMethod("isBannerAdsVisible")
}

Callback example

As a result of a call, a callback with a notification on the display status of the banner block will be returned to the game. Possible callbacks are described below.

A callback for a case when the advertisement block was shown

method: “isBannerAdsVisible”

result: “ok”

data: “true”

A callback for a case when the advertisement block was not displayed

method: “isBannerAdsVisible”

result: “ok”

data: “false”