InlineAdaptiveSize class

A size for inline adaptive banner ads.

This ad size takes a width and optionally a maximum height and orientation. They will be rendered at the provided width and have variable height decided by Google servers.

You can obtain an instance of this using factory methods such as AdSize.getCurrentOrientationInlineAdaptiveBannerAdSize(width).

After an inline adaptive banner ad is loaded, you should use BannerAd.getPlatformAdSize or AdManagerBannerAd.getPlatformAdSize to get the height to use for the ad container.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
The vertical span of an ad.
finalinherited
maxHeight int?
The maximum height allowed.
final
orientation Orientation?
The orientation. If none if specified the current orientation is used.
final
orientationValue int?
Representation of orientation to pass to platform code.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The horizontal span of an ad.
finalinherited

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