Admost class

Constructors

Admost.setCanRequestAds(bool value)
Admost.setCustomVendors(Map<String, bool> vendors)
Admost.startTestSuite(String appId)
Opens up test screen for ad network testing, available only for testers To be tester, Google Advertising Id has to be entered in the Admost Dashboard Testers screen

Properties

appId String?
Starts Admost mediation and analytics functions, it must be called at the very beginning of the application life cycle appId : Application id got from Admost dashboard
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subjectToCCPA String?
getter/setter pair
subjectToGDPR String?
getter/setter pair
userConsent String?
getter/setter pair

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

Static Properties

isPrivacyConsentRequired Future<String?>
Possible return values : "CCPA" , "GDPR" , "None"
no setter

Static Methods

initialize({required String appId, String? userConsent, String? subjectToGDPR, String? subjectToCCPA}) Future<bool>
setUserId(String userId) → void
trackIAPForAndroid(String originalJSON, String signature, String currencyCode, double price, {List<String>? tags}) → void
trackIAPForIOS(String identifier, String currencyCode, double amount, {List<String>? tags}) → void