AdError class

To see the error code, see AdError.getCode(). To see a description of the error, see AdError.getMessage(). See CODE constants for a list of error codes.

Implemented types

Constructors

AdError.new(int code, [String? _message])
AdError.fromMessage(String message)

Properties

code int
final
hashCode int
The hash code for this object.
no setteroverride
message String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(int other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

codeAlreadyDisplayed → const int
You can not show ads because another fullscreen ad is being displayed at the moment. Please check your ad call logic to eliminate duplicate impressions.
codeAppIsPaused → const int
Ads cannot be shown as the application is currently not visible to the user.
codeConfigurationError → const int
A configuration error has been detected in one of the mediation ad networks. Please report error message to your manager support.
codeInternalError → const int
codeIntervalNotYetPassed → const int
The interval between impressions of Interstitial Ad has not yet passed. To change the interval, use AdsSettings.setInterstitialInterval(int) method.
codeManagerIsDisabled → const int
The manager you want to use is not active at the moment. To change the state of the manager, use MediationManager.setEnabled(AdType, boolean) method.
codeNoConnection → const int
Loading ads cannot be successful without an internet connection.
codeNoFill → const int
This means we are not able to serve ads to this person.
codeNotEnoughSpace → const int
There is not enough space in the current view for the selected AdSize. Please make sure that the size of the banner container has enough free space. You can choose a smaller size if necessary using CASBannerView.setSize(AdSize) method.
codeNotReady → const int
Ad are not ready to show. You need to call Load ads or use one of the automatic cache mode.
codeReachedCap → const int
Ad creative has reached its daily cap for user. The reason is for cross promo only.