ChobiAdMob class

Constructors

ChobiAdMob({int adLastClickedTime = 0, required String lastClickedPrefsKey, bool isDebug = true, List<String>? testDeviceIds, String? androidId, String? iosId, required String androidTestId, required String iosTestId, int adIntervalTimeMs = 5 * 60 * 1000})

Properties

adIntervalTimeMs int
final
androidId String?
final
androidTestId String
final
hashCode int
The hash code for this object.
no setterinherited
intervalWaitMs int
no setter
iosId String?
final
iosTestId String
final
isDebug bool
final
lastClickedPrefsKey String
final
onConsentCheckError ↔ void Function(FormError error)
getter/setter pair
onConsentCheckFinished ↔ void Function(ConsentStatus status)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
testDeviceIds List<String>?
final

Methods

checkPermissionAndStartAdProcess() Future<void>
getAdId() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stopAdProcess() Future<void>
toString() String
A string representation of this object.
inherited
updateLastClickedTime() Future<int>

Operators

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

Static Methods

checkConsentFormAvailable({required ConsentRequestParameters params, dynamic onCheckFinished(bool isFormAvailable)?, dynamic onError(FormError)?}) → void
createConsentRequestParameters({required bool isDebug, List<String>? testIds}) → ConsentRequestParameters
getAdaptiveBannerId({required String androidId, required String iosId, bool isTest = true}) String?
getIdString({required String id, required String testId, bool isTest = true}) String
getIdStringByPlatform({required String androidId, required String testAndroidId, required String iosId, required String testIosId, bool isTest = true}) String?
getInterstitialId({required String androidId, required String iosId, bool isTest = true}) String?
getMovieInterstitialId({required String androidId, required String iosId, bool isTest = true}) String?
loadConsentForm({dynamic onCheckedStatus(ConsentStatus status)?, dynamic onError(FormError)?}) → void
loadLastClickedTimeFromPrefs({required String prefKey}) Future<int>
resetConsentStatus() Future<void>
simpleCheckAndLoadForm({required ConsentRequestParameters params, dynamic onCheckedStatus(ConsentStatus status)?, dynamic onError(FormError)?}) → void