共用方式為


NativeAdsManagerV2.AdReady 事件

定義

當 NativeAdV2可供您的應用程式使用時引發。

// Register
event_token AdReady(EventHandler<NativeAdReadyEventArgs> 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<NativeAdReadyEventArgs> const& handler) const;
public event System.EventHandler<NativeAdReadyEventArgs> AdReady;
function onAdReady(eventArgs) { /* Your code */ }
nativeAdsManagerV2.addEventListener("adready", onAdReady);
nativeAdsManagerV2.removeEventListener("adready", onAdReady);
- or -
nativeAdsManagerV2.onadready = onAdReady;
Public Custom Event AdReady As EventHandler(Of NativeAdReadyEventArgs) 

事件類型

System.EventHandler<NativeAdReadyEventArgs>

備註

傳遞至事件處理常式之事件引數物件的NativeAd屬性包含可供您的應用程式使用的NativeAdV2

適用於

另請參閱