BreakStatus enum

Response from AdSense, provided as param of the adBreakDone callback

Inheritance
Available extensions

Values

notReady → const BreakStatus

The Ad Placement API had not initialized.

timeout → const BreakStatus

A placement timed out because the Ad Placement API took too long to respond.

error → const BreakStatus

There was a JavaScript error in a callback.

noAdPreloaded → const BreakStatus

An ad had not been preloaded yet so this placement was skipped.

frequencyCapped → const BreakStatus

An ad wasn't shown because the frequency cap was applied to this placement.

ignored → const BreakStatus

The user didn't click on a reward prompt before they reached the next placement.

That is showAdFn() wasn't called before the next adBreak().

other → const BreakStatus

The ad was not shown for another reason.

(e.g., The ad was still being fetched, or a previously cached ad was disposed because the screen was resized/rotated.)

dismissed → const BreakStatus

The user dismissed a rewarded ad before viewing it to completion.

viewed → const BreakStatus

The ad was viewed by the user.

invalid → const BreakStatus

The placement was invalid and was ignored.

For instance there should only be one preroll placement per page load, subsequent prerolls are failed with this status.

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

Constants

values → const List<BreakStatus>
A constant List of the values in this enum, in order of their declaration.