RealDocs

UKismetSystemLibrary::IsInterstitialAdAvailable

function Engine Blueprint Since 4.0
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticBlueprintCallable

Description

Returns true if the interstitial ad requested via LoadInterstitialAd has finished loading and is ready to show. Android only.

Caveats & Gotchas

  • Only implemented on Android — returns false on every other platform, including iOS.
  • Requires LoadInterstitialAd to have been called first; this function never triggers a load on its own.
  • There is no delegate or event for load completion, so games typically poll this every frame or on a timer before calling ShowInterstitialAd.

Signature

static ENGINE_API bool IsInterstitialAdAvailable()

Return Type

bool

Example

Poll before showing an interstitial C++
if (UKismetSystemLibrary::IsInterstitialAdAvailable())
{
    UKismetSystemLibrary::ShowInterstitialAd();
}

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.