InterstitialAd.AdReady Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised when the interstitial ad is ready to be shown.
// Register
event_token AdReady(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
void AdReady(event_token const* cookie) const;
// Revoke with event_revoker
InterstitialAd::AdReady_revoker AdReady(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> AdReady;
function onAdReady(eventArgs) { /* Your code */ }
interstitialAd.addEventListener("adready", onAdReady);
interstitialAd.removeEventListener("adready", onAdReady);
- or -
interstitialAd.onadready = onAdReady;
Public Custom Event AdReady As EventHandler(Of Object)
Event Type
Remarks
For walkthroughs and code examples that demonstrate how show an interstitial ad, see Interstitial ads and Advertising samples on GitHub.