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. onAdVideoStart Gets invoked when the native ad video starts playing. onAdVideoEnd Gets invoked when the native ad video ends playing.
Constructors
- AdropNativeListener.new({AdropNativeAdCallback? onAdReceived, AdropNativeAdCallback? onAdClicked, AdropNativeAdCallback? onAdImpression, AdropNativeAdErrorCallback? onAdFailedToReceive, AdropNativeVideoCallback? onAdVideoStart, AdropNativeVideoCallback? onAdVideoEnd})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAdClicked → AdropNativeAdCallback?
-
final
- onAdFailedToReceive → AdropNativeAdErrorCallback?
-
final
- onAdImpression → AdropNativeAdCallback?
-
final
- onAdReceived → AdropNativeAdCallback?
-
final
- onAdVideoEnd → AdropNativeVideoCallback?
-
final
- onAdVideoStart → AdropNativeVideoCallback?
-
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