handleClick

abstract fun handleClick(@Nullable clickUrl: String, @NonNull nativeAdElement: SASNativeAdElement): Boolean

Deprecated

This method will be called whenever a click is performed on the native ad, before the default click handling occurs, thus giving an opportunity to override the default behaviour

Return

true if this method handled the click, false to let the SDK process the click

Deprecated

This method is deprecated and will be removed in future releases. Publishers should not interfere client-side with clicks to avoid counting issues. However, if you still need to be warn in case of click, please use OnClickListener instead.

Parameters

clickUrl

the post click URL associated with this native ad

nativeAdElement

the SASNativeAdElement that was clicked