ViewAdHandle class abstract interface

A loaded view-based ad (banner or native), hosted in the widget tree.

Implementers

Properties

adUnitId → String
The ad unit this ad was loaded for.
no setter
events → Stream<ViewAdEvent>
Open/close/impression/click events for this ad.
no setter
hashCode → int
The hash code for this object.
no setterinherited
paidEvents → Stream<AdPaidEvent>
Impression-level revenue events (allowlisted accounts only).
no setter
response → AdResponseSummary?
Which network filled this ad (mediation observability), or null when the SDK reported nothing. Refreshed by AdMob's server-side auto-refresh as the winning source changes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildWidget() → Widget
Builds the widget that renders this ad (an AdWidget in production, a plain placeholder in tests). Host it exactly once.
dispose() → Future<void>
Releases the underlying platform ad.
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