NativeAdV2.AdClicked 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 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)