FairBid class Null safety

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.
read-only
events Stream<AdEvent>
Stream of AdEvents for all ads combined
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
started Future<bool>
Returns a Future that completes to true when native SDK has been started.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
read-only

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