AdmobConfig class
Model contains configuration about admob unit.
Constructors
-
AdmobConfig({String? nativeAdUnitId, String? bannerAdUnitId, String? interstitialAdUnitId, double? appVolume, List<
String> testDeviceIds = const [], dynamic loggingBuilder(String)?, int thresholdShowInterstitialAds = 1, int maxRetryReloadAds = 3, AdSize bannerAdSize = AdSize.banner, String nativeAdFactoryId = ''}) -
const
Properties
- appVolume → double?
-
Admob volume, specially use with InterstitialAd. Default is 0.0 - meaning silent.
final
-
See Banner AdSize
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interstitialAdUnitId → String?
-
final
- loggingBuilder → (dynamic Function(String)?)
-
Contains informative data for logging.
final
- maxRetryReloadAds → int
-
If counter counts retry times > maxRetryReloadAds then this ad unit is ignored
final
- nativeAdFactoryId → String
-
See Native Factory ID
final
- nativeAdUnitId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
testDeviceIds
→ List<
String> -
List testing device ids, use
flutter devices -d
to fetch device id.final - thresholdShowInterstitialAds → int
-
If counter counts event > thresholdShowInterstitialAds then InterstitialAd will be shown.
final
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