AdRepository class abstract interface

Implementers

Properties

adEvents → PublishSubject<AdEvent>
Stream of ad events. For listening to ad lifecycle events
final
adRevenues → PublishSubject<AdRevenue>
Stream of ad revenues, that is being updated after every ad show and interaction
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hideBanner(String placement) → Future<void>
Hide banner
init() → Future<void>
Initialize repository
loadAppOpen(String placement) → Future<void>
Load app open ad, not available for all SDKs
loadBanner(String placement) → Future<void>
Loads banner. No need to call if auto load is enabled in current ad sdk
loadInterstitial(String placement) → Future<void>
Loads interstitial. No need to call if auto load is enabled in current ad sdk
loadRewarded(String placement) → Future<void>
Load rewarded ad
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showAppOpen(String placement) → Future<bool>
Show appOpen. If auto load is enabled, no need to call loadAppOpen
showBanner(String placement) → Future<bool>
Show banner. If auto load is enabled, no need to call loadInterstitial
showInterstitial(String placement) → Future<bool>
Show interstitial. If auto load is enabled, no need to call loadInterstitial
showRewarded(String placement) → Future<bool>
Show rewarded. If auto load is enabled, no need to call loadRewarded
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited