FrequencyCap class
Limits how often full-screen ads in a slot may show.
Constructors
- FrequencyCap({int? maxPerSession, int? maxPerHour, Duration minGap = Duration.zero})
-
Creates a frequency cap.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxPerHour → int?
-
Maximum impressions per rolling hour (null = unlimited).
final
- maxPerSession → int?
-
Maximum impressions per app session (null = unlimited).
final
- minGap → Duration
-
Minimum gap between two impressions.
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.
override