Skip to main content

mobileAdGetVisible

Type

function

Summary

Return true if an ad is visible.

Syntax

mobileAdGetVisible(<ad>)

Description

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

Parameters

NameTypeDescription

ad

The name of the ad.

Examples

get mobileAdGetVisible("bannerAd")
put "bannerAd" into tAdName
if mobileAdGetVisible(tAdName) is true then
...
end if

Value

NameTypeDescription

return

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

command: mobileAdCreate, mobileAdRegister, mobileAdSetVisible, mobileAdSetTopLeft

function: mobileAdGetTopLeft, mobileAds

message: adLoaded, adLoadFailed, adClicked

Compatibility and Support

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?