AatkitFlutterPlugin class
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
-
addAdNetworkForKeywordTargeting(
AdNetwork network) → Future< void> - Adds an ad network to the list of ad networks that receive targeting keywords (if any set). If no ad networks are added, any set keywords will be delivered to all ad networks supporting keyword targeting.
-
configureDebugScreen(
DebugScreenConfiguration configuration) → Future< void> -
disableDebugScreen(
) → Future< void> - Disables the debug screen appearing after shaking the device. It is enabled by default.
-
editConsent(
) → Future< void> - Presents the consent screen, allowing the user to change consent settings.
-
enableDebugScreen(
) → Future< void> - Enables debug screen that will show after shaking the device. It is already enabled by default.
-
fittingBannerSizesLandscape(
) → Future< List< BannerSize> ?> - Returns the set of 'BannerSize' that will fit on a given device in landscape screen orientation.
-
fittingBannerSizesPortrait(
) → Future< List< BannerSize> ?> - Returns the set of 'BannerSize' that will fit on a given device in portrait screen orientation.
-
getPlatformVersion(
) → Future< String?> -
initAATKit(
AATKitConfiguration configuration) → Future< void> - Initializes the AATKit library. Should be called once during application initialization before any other calls to AATKit.
-
isConsentOptIn(
) → Future< bool> - Returns "consent opt-in status" returned by our server rules. Only returns meaningful information after the rules are downloaded.
-
isTablet(
) → Future< bool> - Checks if AATKit recognizes given device as tablet.
-
maximumBannerSizeLandscape(
) → Future< BannerSize?> - Returns the 'BannerSize' with maximum width that will fit on a given device in landscape screen orientation.
-
maximumBannerSizePortrait(
) → Future< BannerSize?> - Returns the 'BannerSize' with maximum width that will fit on a given device in portrait screen orientation.
-
muteVideoAds(
bool mute) → Future< void> -
Allows to mute video ads.
mute: True to enable, false to disable ad muting. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reconfigure(
AATKitRuntimeConfiguration configuration) → Future< void> - Allows to reconfigure the options for GDPR consent.
-
reloadConsent(
) → Future< void> - Tells the CMP to reload. Does not need to be used unless some error occurs.
-
removeAdNetworkForKeywordTargeting(
AdNetwork network) → Future< void> - Adds an ad network to the list of ad networks that receive targeting keywords (if any set). If no ad networks are added, any set keywords will be delivered to all ad networks supporting keyword targeting.
-
setContentTargetingUrl(
String url) → Future< void> - Sets the content targeting url for the application. This information will be used only if no placement-specific targeting is available.
-
setIsChildDirected(
bool isChildDirected) → Future< void> - Allows to set if app should be treated as child-directed.
-
setLogLevel(
LogLevel logLevel) → Future< void> - Allows to set log level from code.
-
setTargetingInfo(
Map< String, List< info) → Future<String> >void> - Sets the targeting information for the application. This information will be used only if no placement-specific targeting is available.
-
setUserTargeting(
AATKitUserTargeting userTargeting) → Future< void> - Sets the user targeting information for the application.
-
showConsentIfNeeded(
) → Future< void> - Presents the consent screen only if it is required by the used CMP (for example if no user consent has been set yet).
-
showConsentIfNeededOrRejected(
int daysAgo) → Future< void> - Presents the consent screen if it is required by the used CMP (i.e. no user consent has been set yet) or the user has rejected the consent.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited