Share via


InterstitialAd.AdReady Événement

Définition

Déclenché lorsque l’annonce interstitielle est prête à être affichée.

// Register
event_token AdReady(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
void AdReady(event_token const* cookie) const;

// Revoke with event_revoker
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) 

Type d'événement

System.EventHandler<System.Object>

Remarques

Pour obtenir des procédures pas à pas et des exemples de code qui montrent comment afficher une publicité interstitielle, consultez Publicités interstitielles et exemples publicitaires sur GitHub.

S’applique à

Voir aussi