ScreenGate class final

Drops a campaign scoped to screens the host is not on, before any renderer, frequency cap or event fires. Mirrors the gate in Android's routeCampaign and iOS's routeByCampaignKey.

Inheritance

Constructors

ScreenGate(String? _currentScreen())
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

check(CampaignRequest request) → RoutingDropped?
The drop this gate decides, or null to let the request continue.
override
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