SurfaceOccupant class final
One occupant: a campaign routing accepted that has not settled yet.
Constructors
- SurfaceOccupant({required SurfaceKind kind, required String campaignKey, required String cepCampaignId, String? slot, bool isLiveTest = false, bool displayed = false, num? priority, CEPTriggerPayload? payload})
-
const
Properties
- campaignKey → String
-
final
- cepCampaignId → String
-
final
- displayed → bool
-
Whether an impression was recorded. Only read for inline, same slot.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLiveTest → bool
-
Whether this occupant is a live test. A real campaign never
displaces one.
final
- kind → SurfaceKind
-
final
- payload → CEPTriggerPayload?
-
The routed payload its surface holds — how routing finds the occupant's
presentation. Never read by the rule.
final
- priority → num?
-
The rule priority of a Digia-decided campaign; null for any other. Only
read for inline, same slot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slot → String?
-
The inline slot key; null for every other kind.
final
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