BaseAdSlot class
- Implementers
Constructors
- BaseAdSlot({required String slotId, required int totalDuration, required VastRequestOptions requestOptions, int? width, int? height, Orientation orientation = Orientation.PORTRAIT, int? maxAdPods, CreativeMatchStrategy? creativeMatchStrategy, bool allowMobileTraffic = false})
Properties
- allowMobileTraffic ↔ bool
-
Whether mobile data can be used to preload ad content.
getter/setter pair
- creativeMatchStrategy ↔ CreativeMatchStrategy?
-
Ad creative matching strategy.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int?
-
Ad unit height.
getter/setter pair
- maxAdPods ↔ int?
-
Maximum number of ads in a pod that can be requested each time.
getter/setter pair
- orientation ↔ Orientation
-
Screen orientation.
getter/setter pair
- requestOptions ↔ VastRequestOptions
-
Request configurations.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slotId ↔ String
-
Ad unit ID.
getter/setter pair
- totalDuration ↔ int
-
Total ad duration.
getter/setter pair
- width ↔ int?
-
Ad unit width.
getter/setter pair
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