AdPriority enum
Priority tiers used by the ad preloading queue.
Values
- splash → const AdPriority
-
Dedicated highest tier for cold-start / splash screen placements. Drained before any other tier. Within this tier, inline placement loads before fullscreen.
const AdPriority(0) - immediate → const AdPriority
-
Immediate tier for active visible screens and top-priority in-app funnels.
const AdPriority(1) - high → const AdPriority
-
High-priority placements needed early in the session (e.g. onboarding, main navigation).
const AdPriority(2) - medium → const AdPriority
-
Medium-priority placements (recurring triggers, standard in-app placements).
const AdPriority(3) - low → const AdPriority
-
Low-priority background preloads.
const AdPriority(4)
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 - rank → int
-
The numerical rank of the priority tier, where lower numbers have higher priority.
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 <(
AdPriority other) → bool -
Whether this priority is higher than
other. -
operator <=(
AdPriority other) → bool -
Whether this priority is higher than or equal to
other. -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
AdPriority other) → bool -
Whether this priority is lower than
other. -
operator >=(
AdPriority other) → bool -
Whether this priority is lower than or equal to
other.
Constants
-
values
→ const List<
AdPriority> - A constant List of the values in this enum, in order of their declaration.