ManagerBuilder class abstract
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addExtras(
String key, String value) → ManagerBuilder -
build(
) → MediationManager - Create new or get valid MediationManager. Can be called for different identifiers to create different managers.
-
initialize(
) → MediationManager - Create new or get valid MediationManager. Can be called for different identifiers to create different managers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withAdTypes(
int adTypes) → ManagerBuilder -
Using Ad types in current session.
By default: All Ad types are used.
Set
AdType.None
to disable all ad types requests. -
withCasId(
String casId) → ManagerBuilder - An CAS ID is a unique ID number assigned to each of your ad placements when they're created in CAS.
-
withCompletionListener(
dynamic listener(InitConfig config)) → ManagerBuilder - Set listener to receive a callback after all CAS initialization processes have completed.
-
withConsentFlow(
ConsentFlow consentFlow) → ManagerBuilder - Create and attach the Consent flow configuration for initialization.
-
withInitializationListener(
InitializationListener listener) → ManagerBuilder -
withMediationExtras(
String key, String value) → ManagerBuilder - Additional mediation settings.
-
withTestMode(
bool isEnabled) → ManagerBuilder - Enable demo ad mode that will always request test ads.
-
withUserId(
String userId) → ManagerBuilder - The userID is a unique identifier supplied by your application and must be static for each user across sessions. Your userID should not contain any personally identifiable information such as an email address, screen name, Android ID (AID), or Google Advertising ID (GAID).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited