PlaywireAdErrorCode enum
Defines the specific error codes that can be returned by the Playwire SDK.
Values
- unknown → const PlaywireAdErrorCode
-
An unknown error occurred while loading or displaying the ad.
const PlaywireAdErrorCode(1000) - noFill → const PlaywireAdErrorCode
-
The ad request was successful, but no ads were available.
const PlaywireAdErrorCode(1001) - invalidRequest → const PlaywireAdErrorCode
-
The ad request was invalid, malformed, or missing critical identifiers.
const PlaywireAdErrorCode(1002) - networkError → const PlaywireAdErrorCode
-
The ad request failed due to a network connection issue.
const PlaywireAdErrorCode(1003) - timeout → const PlaywireAdErrorCode
-
The ad request timed out.
const PlaywireAdErrorCode(1004) - serverError → const PlaywireAdErrorCode
-
The ad server experienced a failure processing the request.
const PlaywireAdErrorCode(1005) - internalError → const PlaywireAdErrorCode
-
An internal SDK error occurred.
const PlaywireAdErrorCode(1006) - displayError → const PlaywireAdErrorCode
-
The ad failed to display, was already shown, or is not ready.
const PlaywireAdErrorCode(1007) - mediationError → const PlaywireAdErrorCode
-
An error occurred with a mediation adapter or its data.
const PlaywireAdErrorCode(1008) - preconditionFailed → const PlaywireAdErrorCode
-
A precondition validation failure occurred.
const PlaywireAdErrorCode(1009)
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 - rawValue → int
-
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
Static Methods
-
fromRawValue(
int value) → PlaywireAdErrorCode - Creates a PlaywireAdErrorCode from a raw integer value.
Constants
-
values
→ const List<
PlaywireAdErrorCode> - A constant List of the values in this enum, in order of their declaration.