ErrorCode enum
SDK error codes for load/display failures.
Values
- unspecified → const ErrorCode
-
Fallback error when no specific category applies. See
messagefor details.const ErrorCode(-1) - noFill → const ErrorCode
-
No eligible ads returned from mediated networks.
const ErrorCode(204) - adLoadFailed → const ErrorCode
-
Eligible ads found, but all failed to load.
const ErrorCode(-5001) - adDisplayFailed → const ErrorCode
-
Error occurred while displaying the ad.
const ErrorCode(-4205) - networkError → const ErrorCode
-
Network error during ad request.
const ErrorCode(-1000) - networkTimeout → const ErrorCode
-
Network timeout during ad request.
const ErrorCode(-1001) - noNetwork → const ErrorCode
-
Device is offline.
const ErrorCode(-1009) - fullscreenAdAlreadyShowing → const ErrorCode
-
Fullscreen ad is already showing.
const ErrorCode(-23) - fullscreenAdNotReady → const ErrorCode
-
Fullscreen ad was not loaded before showing.
const ErrorCode(-24) - fullscreenAdInvalidViewController → const ErrorCode
-
Invalid view controller used for fullscreen ad (iOS only).
const ErrorCode(-25) - dontKeepActivitiesEnabled → const ErrorCode
-
"Don't Keep Activities" is enabled (Android only).
const ErrorCode(-5602) - invalidAdUnitId → const ErrorCode
-
Invalid ad unit ID.
Possible reasons:
- Malformed or non-existent ad unit ID.
- Disabled ad unit.
- Package name mismatch.
- Created recently (within the last 30-60 minutes).
const ErrorCode(-5603)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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