Bagikan melalui


NativeAdV2.AdClicked Event

Definition

Raised when the user clicks the native ad container.

// 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) 

Event Type

Applies to

See also