FairBid class

Starting point for interacting with FairBid native SDK.

You MUST create instance of FairBid before any other interaction with library, even when using BannerViews.

Properties

adapterEventsStream Stream<MediationAdapterStartEvent>
Stream of MediationAdapterStartEvents for all mediated networks.
no setter
events Stream<AdEvent>
Stream of AdEvents for all ads combined
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
started Future<bool>
Returns a Future that completes to true when native SDK has been started.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareBanner(String placementId) BannerAd
Prepares BannerAd instance for showing and destroying banner ad
prepareInterstitial(String placementId) InterstitialAd
Prepares InterstitialAd instance for requesting and showing interstitial ad
prepareRewarded(String placementId) RewardedAd
Prepares RewardedAd instance for requesting and showing rewarded ad
showTestSuite() → void
Opens FairBid's Test Suite native view.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

version Future<String>
Returns a Future that completes to the version of integrated FairBid SDK.
no setter

Static Methods

forOptions(Options options) FairBid
Prepares FairBid SDK for running with provided Options.
setMuted(bool muteAds) Future<void>
Sets a flag for some mediated networks to show video ads with audio muted or not