NativeAdV2.AdClicked 事件

定义

当用户单击本机广告容器时引发。

// Register
event_token AdClicked(EventHandler<NativeAdClickedEventArgs> const& handler) const;

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

// Revoke with event_revoker
NativeAdV2::AdClicked_revoker AdClicked(auto_revoke_t, EventHandler<NativeAdClickedEventArgs> const& handler) const;
public event System.EventHandler<NativeAdClickedEventArgs> AdClicked;
function onAdClicked(eventArgs) { /* Your code */ }
nativeAdV2.addEventListener("adclicked", onAdClicked);
nativeAdV2.removeEventListener("adclicked", onAdClicked);
- or -
nativeAdV2.onadclicked = onAdClicked;
Public Custom Event AdClicked As EventHandler(Of NativeAdClickedEventArgs) 

事件类型

适用于

另请参阅