GromoreAdsPlatform class abstract

Base contract for communicating with the underlying GroMore implementations.

Inheritance
  • Object
  • PlatformInterface
  • GromoreAdsPlatform
Implementers

Constructors

GromoreAdsPlatform()

Properties

adEventStream Stream<Map<String, dynamic>>
Broadcast stream with raw events from the native side.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearDrawFeedAd(List<int> ids) Future<bool>
clearFeedAd(List<int> ids) Future<bool>
destroyBannerAd() Future<bool>
getPlatformVersion() Future<String?>
initAd(Map<String, dynamic> params) Future<bool>
launchTestTools() Future<bool>
loadBannerAd(Map<String, dynamic> params) Future<bool>
loadDrawFeedAd(Map<String, dynamic> params) Future<List<int>>
loadFeedAd(Map<String, dynamic> params) Future<List<int>>
loadInterstitialAd(Map<String, dynamic> params) Future<bool>
loadRewardVideoAd(Map<String, dynamic> params) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preload(Map<String, dynamic> params) Future<bool>
requestIdfa() Future<bool>
requestPermissionIfNecessary() Future<bool>
showBannerAd() Future<bool>
showInterstitialAd(String posId) Future<bool>
showRewardVideoAd(String posId) Future<bool>
showSplashAd(Map<String, dynamic> params) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance GromoreAdsPlatform
The active platform implementation.
getter/setter pair