AdManager class

Manager for ads.

Implemented types
Annotations

Constructors

AdManager()

Properties

callback MapboxAdCallback?
getter/setter pair
config MapboxAdRootConfiguration
getter/setter pair
debugPrintable bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconLayers List<String>
no setter
map MapInternal?
getter/setter pair
pme PMEManager?
Internal
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileAdsLayerManager TileAdLayerManager?
getter/setter pair
visible bool
no setter

Methods

clearCache() → dynamic
deselectCurrentAd() Future<bool>
Deselect current promotion. hide card view. @return true when card view is closed. Otherwise false.
deselectedPin() Future<bool>
hideAds() → dynamic
hideAttributionView() bool
Hide attribution view. @return true when view is closed. Otherwise false.
loadAdsInternal([String? belowLayerID]) → dynamic
mbpCardViewDidTapAction(MapboxAdMBPCardView view, MapboxAdMBPCardTapAction action, MapboxAd mapboxAd, String url) → dynamic
Called when card button is tapped.
override
mbpCardViewDidTapAttribution(MapboxAdMBPCardView view, MapboxAd mapboxAd) → dynamic
Called when header attribution button is tapped.
override
mbpCardViewDidTransition(MapboxAdMBPCardView view, MapboxAdMBPCardTransition state) → dynamic
Called when card transition is changed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDestroy() → dynamic
onFinishRenderingMap() → dynamic
onMapClick(Point<double> point) → dynamic
onMapCreated() → dynamic
onMapMoveBegin() → dynamic
onMapMoveEnd() → dynamic
onPause() → dynamic
onResume() → dynamic
reloadAds() → dynamic
removeAdLayers() → dynamic
showAds() → dynamic
toString() String
A string representation of this object.
inherited

Operators

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