UnityAdsMediation class

Constructors

UnityAdsMediation()

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

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 Methods

initialize({required String gameId, dynamic listener(UnityInitializationState initializationState, Map<String, dynamic> result)?}) Future<bool?>
Initialize Unity Ads
loadInterstitialAd({required String placementId, dynamic listener(UnityAdsState adState, dynamic result)?}) Future<bool?>
Load Interstitial Ad
loadRewardedAd({required String placementId, dynamic listener(UnityAdsState adState, dynamic result)?}) Future<bool?>
Load Rewarded Ad
showInterstitailAd({required String placementId, dynamic listener(UnityAdsState adState, Map<String, dynamic> result)?}) Future<bool?>
Show Interstitial Ad, if ready.
showRewardedAd({required String placementId, dynamic listener(UnityAdsState adState, Map<String, dynamic> result)?}) Future<bool?>
Show Rewarded Ad, if ready.