mobileAdGetVisible

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileAdGetVisible(<ad>)
Associationsstack
Summary

Return true if an ad is visible.

Introduced5.5
OSios, android
Platformsmobile
Parameters
NameTypeDescription
ad

The name of the ad.

Example
get mobileAdGetVisible("bannerAd")
put "bannerAd" into tAdName
if mobileAdGetVisible(tAdName) is true then
   ...
end if
Values
NameTypeDescription
return

Returns true if the ad is visible, otherwise it returns false.

RelatedCommand: mobileAdCreate, mobileAdRegister, mobileAdSetVisible, mobileAdSetTopLeft
Function: mobileAdGetTopLeft, mobileAds
Message: adLoaded, adLoadFailed, adClicked
Description

Use the mobileAdGetVisible function to check if an ad created with mobileAdCreate is visible.