AdropNativeListener class

Listener called when there is a change in the AdropNativeAd.

onAdReceived Gets invoked when the native ad receives an ad. onAdClicked Gets invoked when the native ad is clicked. onAdFailedToReceive Gets invoked with AdropErrorCode when the native ad fails to receive an ad.

Constructors

AdropNativeListener.new({AdropNativeAdCallback? onAdReceived, AdropNativeAdCallback? onAdClicked, AdropNativeAdCallback? onAdImpression, AdropNativeAdErrorCallback? onAdFailedToReceive})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAdClicked AdropNativeAdCallback?
final
onAdFailedToReceive AdropNativeAdErrorCallback?
final
onAdImpression AdropNativeAdCallback?
final
onAdReceived AdropNativeAdCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited